aboutsummaryrefslogtreecommitdiff
path: root/src/tpc.y
diff options
context:
space:
mode:
authorpacien2018-06-06 15:03:36 +0200
committerpacien2018-06-06 15:03:36 +0200
commit52cd016f5604555c04337f26e947ae32b8ee41b4 (patch)
treee27cb8eb9a44abf25bd1f3b48a1019e605a4b036 /src/tpc.y
parent00b8cb6be126d6cfeacf932b5595df9824cdf412 (diff)
downloadtpc-compiler-52cd016f5604555c04337f26e947ae32b8ee41b4.tar.gz
fix bss flag
Diffstat (limited to 'src/tpc.y')
-rw-r--r--src/tpc.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tpc.y b/src/tpc.y
index a21100d..16dc5ad 100644
--- a/src/tpc.y
+++ b/src/tpc.y
@@ -181,8 +181,8 @@ F:
181| IDENT '(' Arguments ')' { $$ = gen_function_call($<ident>1, $<num>3); } 181| IDENT '(' Arguments ')' { $$ = gen_function_call($<ident>1, $<num>3); }
182; 182;
183LValue: 183LValue:
184 IDENT { gen_check($<ident>1, scope); strcpy($$, $1);} 184 IDENT { gen_check($<ident>1, scope); strcpy($$, $1); }
185| IDENT '[' Exp ']' { gen_check($<ident>1, scope); strcpy($$, $1);} 185| IDENT '[' Exp ']' { gen_check($<ident>1, scope); strcpy($$, $1); }
186; 186;
187Arguments: 187Arguments:
188 ListExp 188 ListExp