3523 /* NOTE We do _NOT_ include this variable in the previously_declared_variable symbol table! |
3523 /* NOTE We do _NOT_ include this variable in the previously_declared_variable symbol table! |
3524 * Please read the comment above the definition of 'variable' for the reason for this. |
3524 * Please read the comment above the definition of 'variable' for the reason for this. |
3525 */ |
3525 */ |
3526 {$$ = new eno_param_declaration_c($1, new bool_type_name_c(locloc(@$)), new explicit_definition_c(), locloc(@$));} |
3526 {$$ = new eno_param_declaration_c($1, new bool_type_name_c(locloc(@$)), new explicit_definition_c(), locloc(@$));} |
3527 /* ERROR_CHECK_BEGIN */ |
3527 /* ERROR_CHECK_BEGIN */ |
3528 | en_identifier BOOL |
3528 | eno_identifier BOOL |
3529 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in ENO declaration."); yynerrs++;} |
3529 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in ENO declaration."); yynerrs++;} |
3530 | en_identifier ':' error |
3530 | eno_identifier ':' error |
3531 {$$ = NULL; |
3531 {$$ = NULL; |
3532 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in ENO declaration.");} |
3532 if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in ENO declaration.");} |
3533 else {print_err_msg(locf(@3), locl(@3), "invalid specification in ENO declaration."); yyclearin;} |
3533 else {print_err_msg(locf(@3), locl(@3), "invalid specification in ENO declaration."); yyclearin;} |
3534 yyerrok; |
3534 yyerrok; |
3535 } |
3535 } |