[COMPILER]

* BUG: Be less tolerant with newlines in CASE expressions.


git-svn-id: svn://localhost/gambas/trunk@3045 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2010-07-19 09:53:34 +00:00
parent a02e468016
commit 483530dcff

View file

@ -695,6 +695,9 @@ void TRANS_case(void)
if (i > MAX_CASE_EXPR)
THROW("Too many expressions in CASE");
if (PATTERN_is_newline_end(*JOB->current))
THROW("Unexpected end of line");
/*CODE_dup();
TRANS_expression(FALSE);
CODE_op(C_EQ, 2);*/