mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +00:00
skeletons: fix output directives
* data/lalr1.cc, data/location.cc, data/glr.cc: Use b4_output_begin. Broken during a merge.
This commit is contained in:
@@ -314,9 +314,7 @@ b4_percent_define_flag_if([[global_tokens_and_yystype]],
|
|||||||
])
|
])
|
||||||
|
|
||||||
b4_defines_if(
|
b4_defines_if(
|
||||||
[m4_changecom()dnl
|
[b4_output_begin([b4_spec_defines_file])
|
||||||
m4_divert_push(0)dnl
|
|
||||||
@output(b4_spec_defines_file@)@
|
|
||||||
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
|
||||||
[2002-2012])[
|
[2002-2012])[
|
||||||
|
|
||||||
|
|||||||
@@ -332,11 +332,8 @@ b4_public_types_define])[
|
|||||||
]b4_percent_code_get([[provides]])[
|
]b4_percent_code_get([[provides]])[
|
||||||
]])
|
]])
|
||||||
|
|
||||||
# We do want M4 expansion after # for CPP macros.
|
|
||||||
m4_changecom()
|
|
||||||
b4_defines_if(
|
b4_defines_if(
|
||||||
[m4_divert_push(0)dnl
|
[b4_output_begin([b4_spec_defines_file])
|
||||||
@output(b4_spec_defines_file@)@
|
|
||||||
b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++])
|
b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++])
|
||||||
[
|
[
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -268,8 +268,6 @@ m4_define([b4_location_define],
|
|||||||
]])
|
]])
|
||||||
|
|
||||||
|
|
||||||
# We do want M4 expansion after # for CPP macros.
|
|
||||||
m4_changecom()
|
|
||||||
b4_defines_if([
|
b4_defines_if([
|
||||||
b4_output_begin([b4_dir_prefix[]position.hh])
|
b4_output_begin([b4_dir_prefix[]position.hh])
|
||||||
b4_copyright([Positions for Bison parsers in C++])[
|
b4_copyright([Positions for Bison parsers in C++])[
|
||||||
|
|||||||
Reference in New Issue
Block a user