preprocessor: fix warning in parsing
parent
83bc67f0c0
commit
dbec97c447
|
@ -473,8 +473,7 @@ ParsingDriver::init_val(string *name, expr_t rhs)
|
|||
if (nostrict)
|
||||
if (!mod_file->symbol_table.exists(*name))
|
||||
{
|
||||
warnings << "WARNING: discarding '" << *name
|
||||
<< "' not recognized in initval or endval statement" << endl;
|
||||
warning("discarding '" + *name + "' as it was not recognized in the initval or endval statement");
|
||||
delete name;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue