# HG changeset patch # User laurent # Date 1271888970 -7200 # Node ID b3063ca418c1cf0dd70f7ebd68559a377a944e0a # Parent 0919986a5c9880f01ca60d64f95bb5a234763c34 Bug when parsing standard function block call in IL diff -r 0919986a5c98 -r b3063ca418c1 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;}