preprocessor: fix warning in parsing

issue#70
Houtan Bastani 2016-10-07 14:40:10 +02:00
parent f20beac29c
commit 1bd8679ddd
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}