a/c99.y | b/c99.y | ||
---|---|---|---|
... |
... |
||
87 | | postfix_expression '.' IDENTIFIER |
87 | | postfix_expression '.' IDENTIFIER |
88 | { sprintf($<str>$, "%s.%s",$<str>1,$<str>3); } |
88 | { sprintf($<str>$, "%s.%s",$<str>1,$<str>3); } |
89 | | postfix_expression PTR_OP IDENTIFIER |
89 | | postfix_expression PTR_OP IDENTIFIER |
90 | { sprintf($<str>$, "%s %s %s",$<str>1, $<str>2, $<str>3);} |
90 | { sprintf($<str>$, "%s %s %s",$<str>1, $<str>2, $<str>3);} |
91 | | postfix_expression INC_OP |
91 | | postfix_expression INC_OP |
92 | { sprintf($<str>$, "(%s:=%s+1)",$<str>1, $<str>1); } |
92 | { sprintf($<str>$, "((%s:=%s+1)-1)",$<str>1, $<str>1); } |
93 | | postfix_expression DEC_OP |
93 | | postfix_expression DEC_OP |
94 | { sprintf($<str>$, "(%s:=%s-1)",$<str>1, $<str>1); } |
94 | { sprintf($<str>$, "((%s:=%s-1)+1)",$<str>1, $<str>1); } |
95 | | '(' type_name ')' '{' initializer_list '}' |
95 | | '(' type_name ')' '{' initializer_list '}' |
96 | | '(' type_name ')' '{' initializer_list ',' '}' |
96 | | '(' type_name ')' '{' initializer_list ',' '}' |
97 | ; |
97 | ; |
98 | 98 | ||
99 | argument_expression_list |
99 | argument_expression_list |