From dae43d5db4161609a0056a3c107670a7ab051531 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 5 Apr 2014 08:27:01 +0800 Subject: semantics almost done --- cibic.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cibic.y') diff --git a/cibic.y b/cibic.y index 6786346..06e5727 100644 --- a/cibic.y +++ b/cibic.y @@ -336,7 +336,7 @@ postfix cnode_add_loc(cnode_list_wrap(ARGS, $2), @2)), @$); } | '(' ')' { $$ = cnode_add_loc(cnode_create_exp( - POSTFIX_CALL, 1, cnode_list_wrap(ARGS, cnode_create_nop())), @$); } + POSTFIX_CALL, 1, cnode_list_wrap(ARGS, NULL)), @$); } | '.' identifier { $$ = cnode_add_loc(cnode_create_exp(POSTFIX_DOT, 1, $2), @$); } | OPT_PTR identifier { $$ = cnode_add_loc(cnode_create_exp(POSTFIX_PTR, 1, $2), @$); } | OPT_INC { $$ = cnode_add_loc(cnode_create_exp(OPT_INC, 0), @$); } -- cgit v1.2.3