aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tpc.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tpc.y b/src/tpc.y
index b2065e7..979e696 100644
--- a/src/tpc.y
+++ b/src/tpc.y
@@ -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;
168LValue: 168LValue:
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;
172Arguments: 172Arguments:
173 ListExp 173 ListExp