[COMPILER]

* BUG: Correctly raise a syntax error if the FOR EACH variable is not
  immediately followed by the IN keyword.


git-svn-id: svn://localhost/gambas/trunk@5867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2013-10-03 13:21:36 +00:00
parent 0f3e0628ca
commit e3d64af7ff

View File

@ -1064,6 +1064,8 @@ void TRANS_for_each(void)
if (!CODE_popify_last())
THROW("Invalid assignment");
TRANS_want(RS_IN, "IN");
JOB->current = save;
}
else