Skip to content

Commit

Permalink
Merge pull request #135 from yui-knk/fix_yacc_c
Browse files Browse the repository at this point in the history
Fix the location of `end`
  • Loading branch information
yui-knk committed Oct 18, 2023
2 parents 15c3e0d + 03d4aa9 commit 36b8c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/bison/yacc.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
<%- else -%>
/* Use api.header.include to #include this header
instead of duplicating it here. */
<%- end -%>
<%# b4_shared_declarations -%>
<%-# b4_cpp_guard_open([b4_spec_mapped_header_file]) -%>
<%- if output.spec_mapped_header_file -%>
Expand Down Expand Up @@ -178,6 +177,7 @@ int yyparse (<%= output.parse_param %>);
<%- if output.spec_mapped_header_file -%>
#endif /* !<%= output.b4_cpp_guard__b4_spec_mapped_header_file %> */
<%- end -%>
<%- end -%>
<%# b4_declare_symbol_enum -%>
/* Symbol kind. */
enum yysymbol_kind_t
Expand Down

0 comments on commit 36b8c68

Please sign in to comment.