equal
deleted
inserted
replaced
2789 | signed_integer signed_integer |
2789 | signed_integer signed_integer |
2790 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'..' missing between bounds in subrange definition."); yynerrs++;} |
2790 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'..' missing between bounds in subrange definition."); yynerrs++;} |
2791 | signed_integer DOTDOT error |
2791 | signed_integer DOTDOT error |
2792 {$$ = NULL; |
2792 {$$ = NULL; |
2793 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");} |
2793 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");} |
2794 else {print_err_msg(locf(@3), locl(@3), "invalid value for upper bound in subrange definition."); yyclearin;} |
2794 else {print_err_msg(locf(@3), locl(@3), "invalid value for lower bound in subrange definition."); yyclearin;} |
2795 yyerrok; |
2795 yyerrok; |
2796 } |
2796 } |
2797 /* ERROR_CHECK_END */ |
2797 /* ERROR_CHECK_END */ |
2798 ; |
2798 ; |
2799 |
2799 |