fix error message.
authorMario de Sousa <msousa@fe.up.pt>
Tue, 12 Jun 2012 17:07:40 +0100
changeset 584 f95d6561d439
parent 583 e1df3781be84
child 585 be7330d9b65c
fix error message.
stage1_2/iec_bison.yy
--- a/stage1_2/iec_bison.yy	Tue Jun 12 17:00:00 2012 +0100
+++ b/stage1_2/iec_bison.yy	Tue Jun 12 17:07:40 2012 +0100
@@ -2692,7 +2692,7 @@
 | signed_integer DOTDOT error
 	{$$ = NULL;
 	 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");}
-	 else {print_err_msg(locf(@3), locl(@3), "invalid value for lower bound in subrange definition."); yyclearin;}
+	 else {print_err_msg(locf(@3), locl(@3), "invalid value for upper bound in subrange definition."); yyclearin;}
 	 yyerrok;
 	}
 /* ERROR_CHECK_END */