[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:
parent
0f3e0628ca
commit
e3d64af7ff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user