Bug in eno_param_declaration error handle fixed
authorlaurent
Wed, 02 Sep 2009 17:35:56 +0200
changeset 207 56ee922d0112
parent 206 261beef39000
child 208 c72748a12ae3
Bug in eno_param_declaration error handle fixed
stage1_2/iec.y
--- a/stage1_2/iec.y	Wed Sep 02 17:35:02 2009 +0200
+++ b/stage1_2/iec.y	Wed Sep 02 17:35:56 2009 +0200
@@ -3525,9 +3525,9 @@
    */
   {$$ = new eno_param_declaration_c($1, new bool_type_name_c(locloc(@$)), new explicit_definition_c(), locloc(@$));}
 /* ERROR_CHECK_BEGIN */
-| en_identifier BOOL
+| eno_identifier BOOL
 	{$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in ENO declaration."); yynerrs++;}
-| en_identifier ':' error
+| eno_identifier ':' error
 	{$$ = NULL;
 	 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in ENO declaration.");}
 	 else {print_err_msg(locf(@3), locl(@3), "invalid specification in ENO declaration."); yyclearin;}