equal
deleted
inserted
replaced
2690 | signed_integer signed_integer |
2690 | signed_integer signed_integer |
2691 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'..' missing between bounds in subrange definition."); yynerrs++;} |
2691 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'..' missing between bounds in subrange definition."); yynerrs++;} |
2692 | signed_integer DOTDOT error |
2692 | signed_integer DOTDOT error |
2693 {$$ = NULL; |
2693 {$$ = NULL; |
2694 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");} |
2694 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");} |
2695 else {print_err_msg(locf(@3), locl(@3), "invalid value for lower bound in subrange definition."); yyclearin;} |
2695 else {print_err_msg(locf(@3), locl(@3), "invalid value for upper bound in subrange definition."); yyclearin;} |
2696 yyerrok; |
2696 yyerrok; |
2697 } |
2697 } |
2698 /* ERROR_CHECK_END */ |
2698 /* ERROR_CHECK_END */ |
2699 ; |
2699 ; |
2700 |
2700 |