preprocessor: add warning if more than one osr_params statement is encountered in the .mod file. #948
parent
a4045ae2da
commit
97a35ad6cb
|
@ -1042,6 +1042,8 @@ OsrParamsStatement::OsrParamsStatement(const SymbolList &symbol_list_arg, const
|
|||
void
|
||||
OsrParamsStatement::checkPass(ModFileStructure &mod_file_struct, WarningConsolidation &warnings)
|
||||
{
|
||||
if (mod_file_struct.osr_params_present)
|
||||
cerr << "WARNING: You have more than one osr_params statement in the .mod file." << endl;
|
||||
mod_file_struct.osr_params_present = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue