1<%# b4_shared_declarations -%>
2 <%-# b4_cpp_guard_open([b4_spec_mapped_header_file]) -%>
3 <%-
if output.spec_mapped_header_file -%>
4#ifndef <%= output.b4_cpp_guard__b4_spec_mapped_header_file %>
5# define <%= output.b4_cpp_guard__b4_spec_mapped_header_file %>
7 <%-# b4_declare_yydebug & b4_YYDEBUG_define -%>
12#if YYDEBUG && !defined(yydebug)
15<%= output.percent_code(
"requires") %>
17 <%-# b4_token_enums_defines -%>
23<%= output.token_enums -%>
25 typedef enum yytokentype yytoken_kind_t;
28 <%-# b4_declare_yylstype -%>
29 <%-# b4_value_type_define -%>
31#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
34#line <%= output.grammar.union.lineno %> "<%= output.grammar_file_path %>"
35<%= output.grammar.union.braces_less_code %>
36#line [@oline@] [@ofile@]
40# define YYSTYPE_IS_TRIVIAL 1
41# define YYSTYPE_IS_DECLARED 1
44 <%-# b4_location_type_define -%>
46#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
55# define YYLTYPE_IS_DECLARED 1
56# define YYLTYPE_IS_TRIVIAL 1
62 <%-# b4_declare_yyerror_and_yylex. Not supported -%>
63 <%-# b4_declare_yyparse -%>
64int yyparse (<%= output.parse_param %>);
67<%= output.percent_code(
"provides") %>
68 <%-# b4_cpp_guard_close([b4_spec_mapped_header_file]) -%>
69 <%-
if output.spec_mapped_header_file -%>