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:
Akim Demaille
2012-12-19 11:17:29 +01:00
parent 56441943d0
commit eaf690a700
3 changed files with 2 additions and 9 deletions

View File

@@ -314,9 +314,7 @@ b4_percent_define_flag_if([[global_tokens_and_yystype]],
])
b4_defines_if(
[m4_changecom()dnl
m4_divert_push(0)dnl
@output(b4_spec_defines_file@)@
[b4_output_begin([b4_spec_defines_file])
b4_copyright([Skeleton interface for Bison GLR parsers in C++],
[2002-2012])[

View File

@@ -332,11 +332,8 @@ b4_public_types_define])[
]b4_percent_code_get([[provides]])[
]])
# We do want M4 expansion after # for CPP macros.
m4_changecom()
b4_defines_if(
[m4_divert_push(0)dnl
@output(b4_spec_defines_file@)@
[b4_output_begin([b4_spec_defines_file])
b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++])
[
/**

View File

@@ -268,8 +268,6 @@ m4_define([b4_location_define],
]])
# We do want M4 expansion after # for CPP macros.
m4_changecom()
b4_defines_if([
b4_output_begin([b4_dir_prefix[]position.hh])
b4_copyright([Positions for Bison parsers in C++])[