added verification for explicit references (check if the given ID exists)

This commit is contained in:
Marc Zinnschlag 2010-07-09 20:35:34 +02:00
parent d4ac3b506e
commit c37b007be0
7 changed files with 43 additions and 4 deletions

View file

@ -275,7 +275,7 @@ namespace Compiler
return true;
}
if (mOperands.empty() && mOperators.empty() && mExplicit.empty())
if (mExplicit.empty() && getContext().isId (name))
{
mExplicit = name;
return true;