Browse Source

Fix false error if more then one function have same name.

gmtdatadir
Michael Uleysky 8 years ago
parent
commit
c59ac16589
  1. 2
      src/object.cpp

2
src/object.cpp

@ -170,7 +170,7 @@ const ObjectBase* Evaluate(ExecExpr& exp, bool* err)
exp.erase(pr);
// Error handling
if(!errl.empty())
if( res==nullptr || res->isError() )
{
const struct grammatic_location& loc=cse->Location();
*err=true; // Raise error flag

Loading…
Cancel
Save