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