stage1_2/iec.y
changeset 239 b3063ca418c1
parent 207 56ee922d0112
child 258 d7d92b2f87e9
equal deleted inserted replaced
238:0919986a5c98 239:b3063ca418c1
  6577 /*  variable_name ASSIGN */
  6577 /*  variable_name ASSIGN */
  6578   any_identifier ASSIGN
  6578   any_identifier ASSIGN
  6579 	{$$ = new il_assign_operator_c($1, locloc(@$));}
  6579 	{$$ = new il_assign_operator_c($1, locloc(@$));}
  6580 | en_identifier ASSIGN
  6580 | en_identifier ASSIGN
  6581 	{$$ = new il_assign_operator_c($1, locloc(@$));}
  6581 	{$$ = new il_assign_operator_c($1, locloc(@$));}
       
  6582 | S1_operator ASSIGN
       
  6583 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6584 | R1_operator ASSIGN
       
  6585 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6586 | CLK_operator ASSIGN
       
  6587 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6588 | CU_operator ASSIGN
       
  6589 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6590 | CD_operator ASSIGN
       
  6591 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6592 | PV_operator ASSIGN
       
  6593 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6594 | IN_operator ASSIGN
       
  6595 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
       
  6596 | PT_operator ASSIGN
       
  6597 	{$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));}
  6582 /* ERROR_CHECK_BEGIN */
  6598 /* ERROR_CHECK_BEGIN */
  6583 | error ASSIGN
  6599 | error ASSIGN
  6584   {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter assignment."); yyerrok;}
  6600   {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter assignment."); yyerrok;}
  6585 /* ERROR_CHECK_END */
  6601 /* ERROR_CHECK_END */
  6586 ;
  6602 ;