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 output.grammar.union %>
32#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
35#line <%= output.grammar.union.lineno %> "<%= output.grammar_file_path %>"
36<%= output.grammar.union.braces_less_code %>
37#line [@oline@] [@ofile@]
41# define YYSTYPE_IS_TRIVIAL 1
42# define YYSTYPE_IS_DECLARED 1
45#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
47# define YYSTYPE_IS_TRIVIAL 1
48# define YYSTYPE_IS_DECLARED 1
52 <%-# b4_location_type_define -%>
54#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
63# define YYLTYPE_IS_DECLARED 1
64# define YYLTYPE_IS_TRIVIAL 1
70 <%-# b4_declare_yyerror_and_yylex. Not supported -%>
71 <%-# b4_declare_yyparse -%>
72int yyparse (<%= output.parse_param %>);
75<%= output.percent_code(
"provides") %>
76 <%-# b4_cpp_guard_close([b4_spec_mapped_header_file]) -%>
77 <%-
if output.spec_mapped_header_file -%>