Fix bug in building structured variables.
authorMario de Sousa <msousa@fe.up.pt>
Fri, 09 Mar 2012 10:52:23 +0000
changeset 469 9fe6c4633ed6
parent 468 46f8154d506e
child 470 d2cd05c5e01a
Fix bug in building structured variables.
stage1_2/iec_bison.yy
--- a/stage1_2/iec_bison.yy	Fri Mar 09 10:51:56 2012 +0000
+++ b/stage1_2/iec_bison.yy	Fri Mar 09 10:52:23 2012 +0000
@@ -3401,7 +3401,7 @@
   record_variable '.' field_selector
 	{$$ = new structured_variable_c($1, $3, locloc(@$));}
 | record_variable '.' il_simple_operator_clash3
-    {$$ = new structured_variable_c($1, $3, locloc(@$));}
+    {$$ = new structured_variable_c($1, il_operator_c_2_identifier_c($3), locloc(@$));}
 ;