summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1d35ce9..6134efa 100644
--- a/main.c
+++ b/main.c
@@ -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);
}