Adding location data to new transition_condition_c.
authormario
Thu, 15 Nov 2007 10:42:34 +0100
changeset 88 dab799d3d4a6
parent 87 b97f9ad7b2c6
child 89 5b2ec5c057fa
Adding location data to new transition_condition_c.
stage1_2/iec.y
--- a/stage1_2/iec.y	Thu Nov 15 10:21:19 2007 +0100
+++ b/stage1_2/iec.y	Thu Nov 15 10:42:34 2007 +0100
@@ -3806,9 +3806,9 @@
 
 transition_condition:
   ':' eol_list simple_instr_list
-	{$$ = new transition_condition_c($3, NULL);}
+	{$$ = new transition_condition_c($3, NULL, locloc(@$));}
 | ASSIGN expression ';'
-	{$$ = new transition_condition_c(NULL, $2);}
+	{$$ = new transition_condition_c(NULL, $2, locloc(@$));}
 ;