aboutsummaryrefslogtreecommitdiff
path: root/cibic.y
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-25 00:45:52 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-25 00:45:52 +0800
commitda3bf74ba8946f88b892907361f86f567301be83 (patch)
tree989bcae1844e8e10ce03ea3d1f355938b8b404a8 /cibic.y
parent6172cc802ea408e9050ec6e3b3f5b6959b07c87d (diff)
...
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 a4f7eb2..0a98097 100644
--- a/cibic.y
+++ b/cibic.y
@@ -303,7 +303,7 @@ postfix
$$ = cnode_create_exp(POSTFIX_CALL, 1, cnode_list_wrap(ARGS, $2));
}
| '(' ')' {
- $$ = cnode_create_exp(POSTFIX_CALL, 1, cnode_list_wrap(cnode_create_nop()));
+ $$ = cnode_create_exp(POSTFIX_CALL, 1, cnode_list_wrap(ARGS, cnode_create_nop()));
}
| '.' identifier { $$ = cnode_create_exp(POSTFIX_DOT, 1, $2); }
| OPT_PTR identifier { $$ = cnode_create_exp(POSTFIX_PTR, 1, $2); }