nostrict option works for endval too

issue#70
Houtan Bastani 2013-09-16 17:24:17 -04:00
parent f6c982c51b
commit 0d5ab71482
1 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,8 @@ 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 << "' not recognized in initval statement" << endl; warnings << "WARNING: discarding '" << *name
<< "' not recognized in initval or endval statement" << endl;
delete name; delete name;
return; return;
} }