3456 * |
3456 * |
3457 * Please read the comment above the definition of 'variable' in section B1.4 for details. |
3457 * Please read the comment above the definition of 'variable' in section B1.4 for details. |
3458 */ |
3458 */ |
3459 en_param_declaration: |
3459 en_param_declaration: |
3460 en_identifier ':' BOOL ASSIGN boolean_literal |
3460 en_identifier ':' BOOL ASSIGN boolean_literal |
3461 {$$ = new en_param_declaration_c($1, new bool_type_name_c(locloc(@$)), $5, new explicit_definition_c(), locloc(@$));} |
3461 {$$ = new en_param_declaration_c($1, new simple_spec_init_c(new bool_type_name_c(locloc(@3)), $5, locf(@3), locl(@5)), new explicit_definition_c(), locloc(@$));} |
3462 | en_identifier ':' BOOL ASSIGN integer |
3462 | en_identifier ':' BOOL ASSIGN integer |
3463 {$$ = new en_param_declaration_c($1, new bool_type_name_c(locloc(@$)), $5, new explicit_definition_c(), locloc(@$));} |
3463 {$$ = new en_param_declaration_c($1, new simple_spec_init_c(new bool_type_name_c(locloc(@3)), $5, locf(@3), locl(@5)), new explicit_definition_c(), locloc(@$));} |
3464 /* ERROR_CHECK_BEGIN */ |
3464 /* ERROR_CHECK_BEGIN */ |
3465 | en_identifier BOOL ASSIGN boolean_literal |
3465 | en_identifier BOOL ASSIGN boolean_literal |
3466 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in EN declaration."); yynerrs++;} |
3466 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in EN declaration."); yynerrs++;} |
3467 | en_identifier BOOL ASSIGN integer |
3467 | en_identifier BOOL ASSIGN integer |
3468 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in EN declaration."); yynerrs++;} |
3468 {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in EN declaration."); yynerrs++;} |