Fix if-else without braces

This commit is contained in:
Ilmir Usmanov 2014-10-09 19:41:42 +04:00
parent 29c734d95d
commit eeb497b84b

View File

@ -3219,6 +3219,11 @@ parse_statement (void)
STACK_DROP (toks, 1);
parse_expression ();
STACK_DROP (IDX, 1);
skip_newlines ();
if (!token_is (TOK_SEMICOLON))
{
lexer_save_token (TOK ());
}
goto cleanup;
}
}