nostrict option works for endval too
parent
ebd9d9dee7
commit
d8a64df886
|
@ -788,7 +788,7 @@ the Macro directive @code{@@#define} in a model file, @pxref{Macro-processing la
|
|||
Allows Dynare to issue a warning and continue processing when
|
||||
@enumerate
|
||||
@item there are more endogenous variables than equations
|
||||
@item an undeclared symbol is assigned in @code{initval}
|
||||
@item an undeclared symbol is assigned in @code{initval} or @code{endval}
|
||||
@end enumerate
|
||||
@end table
|
||||
|
||||
|
|
|
@ -404,7 +404,8 @@ 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 statement" << endl;
|
||||
warnings << "WARNING: discarding '" << *name
|
||||
<< "' not recognized in initval or endval statement" << endl;
|
||||
delete name;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue