diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -481,7 +481,7 @@ Proc *parse_proc(Lexer *l, Unit *u) { lex_expect(l, TM_IDENT); proc_init(proc, l->ident); scope_push(&proc->scope, proc); - lex_expect(l, TM_LPAREN | TM_LBRACE); + lex_next(l); if (l->tok == TOK_LPAREN) { parse_args_list(l, proc); } |
