Bug when parsing standard function block call in IL
authorlaurent
Thu, 22 Apr 2010 00:29:30 +0200
changeset 239 b3063ca418c1
parent 238 0919986a5c98
child 240 f78fa87bb4cb
Bug when parsing standard function block call in IL
stage1_2/iec.y
--- a/stage1_2/iec.y	Tue Dec 15 20:50:30 2009 +0100
+++ b/stage1_2/iec.y	Thu Apr 22 00:29:30 2010 +0200
@@ -6579,6 +6579,22 @@
 	{$$ = new il_assign_operator_c($1, locloc(@$));}
 | en_identifier ASSIGN
 	{$$ = new il_assign_operator_c($1, locloc(@$));}
+| S1_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| R1_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| CLK_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| CU_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| CD_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| PV_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| IN_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
+| PT_operator ASSIGN
+	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
 /* ERROR_CHECK_BEGIN */
 | error ASSIGN
   {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter assignment."); yyerrok;}