Fix if-else without braces
This commit is contained in:
1 parent
29c734d95d
commit
eeb497b84b
1 file changed
+5
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user