diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tpc.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -166,8 +166,8 @@ F: | |||
166 | | IDENT '(' Arguments ')' { $$ = gen_function_call($<ident>1,$<num>3); } | 166 | | IDENT '(' Arguments ')' { $$ = gen_function_call($<ident>1,$<num>3); } |
167 | ; | 167 | ; |
168 | LValue: | 168 | LValue: |
169 | IDENT { gen_check($<ident>1, scope); } | 169 | IDENT { $$ = $1; gen_check($<ident>1, scope); } |
170 | | IDENT '[' Exp ']' { gen_check($<ident>1, scope); } | 170 | | IDENT '[' Exp ']' { $$ = $1; gen_check($<ident>1, scope); } |
171 | ; | 171 | ; |
172 | Arguments: | 172 | Arguments: |
173 | ListExp | 173 | ListExp |