diff options
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -144,7 +144,9 @@ parse(const char *fname, FILE *f, struct token *t) { kerchunk(); break; case TOK_EXPR: - parse_expr(); + if (parse_expr()) { + return 1; + } break; default: emit("Error: Unexpected %s\n", get_token_description(cursor->type)); |