aboutsummaryrefslogtreecommitdiff
path: root/cibic.y
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-05 08:27:01 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-05 08:27:01 +0800
commitdae43d5db4161609a0056a3c107670a7ab051531 (patch)
treeafd62175a637ed15c7d61faab873b4ccf4f4c316 /cibic.y
parent95201397094ff985c7e219e2a9eea08eb91ba37e (diff)
semantics almost done
Diffstat (limited to 'cibic.y')
-rw-r--r--cibic.y2
1 files changed, 1 insertions, 1 deletions
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), @$); }