6396 il_assign_out_operator: |
6410 il_assign_out_operator: |
6397 /* variable_name SENDTO */ |
6411 /* variable_name SENDTO */ |
6398 /* any_identifier SENDTO */ |
6412 /* any_identifier SENDTO */ |
6399 sendto_identifier SENDTO |
6413 sendto_identifier SENDTO |
6400 {$$ = new il_assign_out_operator_c(NULL, $1, locloc(@$));} |
6414 {$$ = new il_assign_out_operator_c(NULL, $1, locloc(@$));} |
|
6415 | eno_param SENDTO |
|
6416 {$$ = new il_assign_out_operator_c(NULL, $1, locloc(@$));} |
6401 /*| NOT variable_name SENDTO */ |
6417 /*| NOT variable_name SENDTO */ |
6402 | NOT sendto_identifier SENDTO |
6418 | NOT sendto_identifier SENDTO |
|
6419 {$$ = new il_assign_out_operator_c(new not_paramassign_c(locloc(@1)), $2, locloc(@$));} |
|
6420 | NOT eno_param SENDTO |
6403 {$$ = new il_assign_out_operator_c(new not_paramassign_c(locloc(@1)), $2, locloc(@$));} |
6421 {$$ = new il_assign_out_operator_c(new not_paramassign_c(locloc(@1)), $2, locloc(@$));} |
6404 /* ERROR_CHECK_BEGIN */ |
6422 /* ERROR_CHECK_BEGIN */ |
6405 | error SENDTO |
6423 | error SENDTO |
6406 {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter out assignment."); yyerrok;} |
6424 {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter out assignment."); yyerrok;} |
6407 | NOT SENDTO |
6425 | NOT SENDTO |
6918 |
6935 |
6919 |
6936 |
6920 param_assignment_formal: |
6937 param_assignment_formal: |
6921 any_identifier ASSIGN expression |
6938 any_identifier ASSIGN expression |
6922 {$$ = new input_variable_param_assignment_c($1, $3, locloc(@$));} |
6939 {$$ = new input_variable_param_assignment_c($1, $3, locloc(@$));} |
|
6940 | en_param ASSIGN expression |
|
6941 {$$ = new input_variable_param_assignment_c($1, $3, locloc(@$));} |
6923 /*| variable_name SENDTO variable */ |
6942 /*| variable_name SENDTO variable */ |
6924 /*| any_identifier SENDTO variable */ |
6943 /*| any_identifier SENDTO variable */ |
6925 | sendto_identifier SENDTO variable |
6944 | sendto_identifier SENDTO variable |
6926 {$$ = new output_variable_param_assignment_c(NULL,$1, $3, locloc(@$));} |
6945 {$$ = new output_variable_param_assignment_c(NULL, $1, $3, locloc(@$));} |
|
6946 | eno_param SENDTO variable |
|
6947 {$$ = new output_variable_param_assignment_c(NULL, $1, $3, locloc(@$));} |
6927 /*| NOT variable_name SENDTO variable */ |
6948 /*| NOT variable_name SENDTO variable */ |
6928 /*| NOT any_identifier SENDTO variable*/ |
6949 /*| NOT any_identifier SENDTO variable*/ |
6929 | NOT sendto_identifier SENDTO variable |
6950 | NOT sendto_identifier SENDTO variable |
6930 {$$ = new output_variable_param_assignment_c(new not_paramassign_c(locloc(@$)),$2, $4, locloc(@$));} |
6951 {$$ = new output_variable_param_assignment_c(new not_paramassign_c(locloc(@$)), $2, $4, locloc(@$));} |
|
6952 | NOT eno_param SENDTO variable |
|
6953 {$$ = new output_variable_param_assignment_c(new not_paramassign_c(locloc(@$)), $2, $4, locloc(@$));} |
6931 /* ERROR_CHECK_BEGIN */ |
6954 /* ERROR_CHECK_BEGIN */ |
6932 | any_identifier ASSIGN error |
6955 | any_identifier ASSIGN error |
6933 {$$ = NULL; |
6956 {$$ = NULL; |
6934 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter assignment.");} |
6957 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter assignment.");} |
6935 else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter assignment."); yyclearin;} |
6958 else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter assignment."); yyclearin;} |
6936 yyerrok; |
6959 yyerrok; |
6937 } |
6960 } |
|
6961 | en_param ASSIGN error |
|
6962 {$$ = NULL; |
|
6963 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter assignment.");} |
|
6964 else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter assignment."); yyclearin;} |
|
6965 yyerrok; |
|
6966 } |
6938 | sendto_identifier SENDTO error |
6967 | sendto_identifier SENDTO error |
|
6968 {$$ = NULL; |
|
6969 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter out assignment.");} |
|
6970 else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter out assignment."); yyclearin;} |
|
6971 yyerrok; |
|
6972 } |
|
6973 | eno_param SENDTO error |
6939 {$$ = NULL; |
6974 {$$ = NULL; |
6940 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter out assignment.");} |
6975 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter out assignment.");} |
6941 else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter out assignment."); yyclearin;} |
6976 else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter out assignment."); yyclearin;} |
6942 yyerrok; |
6977 yyerrok; |
6943 } |
6978 } |
6944 | NOT SENDTO variable |
6979 | NOT SENDTO variable |
6945 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no parameter name defined in ST formal parameter out negated assignment."); yynerrs++;} |
6980 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no parameter name defined in ST formal parameter out negated assignment."); yynerrs++;} |
6946 | NOT error SENDTO variable |
6981 | NOT error SENDTO variable |
6947 {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid parameter name defined in ST formal parameter out negated assignment."); yyerrok;} |
6982 {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid parameter name defined in ST formal parameter out negated assignment."); yyerrok;} |
6948 | NOT sendto_identifier SENDTO error |
6983 | NOT sendto_identifier SENDTO error |
|
6984 {$$ = NULL; |
|
6985 if (is_current_syntax_token()) {print_err_msg(locl(@3), locf(@4), "no expression defined in ST formal parameter out negated assignment.");} |
|
6986 else {print_err_msg(locf(@4), locl(@4), "invalid expression in ST formal parameter out negated assignment."); yyclearin;} |
|
6987 yyerrok; |
|
6988 } |
|
6989 | NOT eno_param SENDTO error |
6949 {$$ = NULL; |
6990 {$$ = NULL; |
6950 if (is_current_syntax_token()) {print_err_msg(locl(@3), locf(@4), "no expression defined in ST formal parameter out negated assignment.");} |
6991 if (is_current_syntax_token()) {print_err_msg(locl(@3), locf(@4), "no expression defined in ST formal parameter out negated assignment.");} |
6951 else {print_err_msg(locf(@4), locl(@4), "invalid expression in ST formal parameter out negated assignment."); yyclearin;} |
6992 else {print_err_msg(locf(@4), locl(@4), "invalid expression in ST formal parameter out negated assignment."); yyclearin;} |
6952 yyerrok; |
6993 yyerrok; |
6953 } |
6994 } |