From: Akim Demaille Date: Mon, 21 Jul 2008 12:19:14 +0000 (+0200) Subject: Avoid the spurious initial empty line. X-Git-Tag: v2.7.90~1161 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/59c544c2683a1ce534404a4891b7e3435e3a242c?ds=inline Avoid the spurious initial empty line. * data/lalr1-fusion.cc, data/location.cc: Put a trailing "@" at the end of @output request to suppress the empty line that results. --- diff --git a/ChangeLog b/ChangeLog index 4a211d21..bbc793bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-04 Akim Demaille + + Avoid the spurious initial empty line. + * data/lalr1-fusion.cc, data/location.cc: Put a trailing "@" at + the end of @output request to suppress the empty line that + results. + 2008-11-04 Akim Demaille Remove parser::rhs_number_type. diff --git a/data/lalr1-fusion.cc b/data/lalr1-fusion.cc index e60ab9e5..48cefdd9 100644 --- a/data/lalr1-fusion.cc +++ b/data/lalr1-fusion.cc @@ -147,7 +147,7 @@ m4_include(b4_pkgdatadir/[location.cc]) m4_changecom() m4_divert_push(0)dnl b4_defines_if( -[@output(b4_spec_defines_file@) +[@output(b4_spec_defines_file@)@ b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++], [2002, 2003, 2004, 2005, 2006, 2007, 2008]) dnl FIXME: This is wrong, we want computed header guards. @@ -478,7 +478,7 @@ b4_percent_code_get([[provides]])[]dnl [#endif /* ! defined PARSER_HEADER_H */] ])dnl -@output(b4_parser_file_name@) +@output(b4_parser_file_name@)@ b4_copyright([Skeleton implementation for Bison LALR(1) parsers in C++], [2002, 2003, 2004, 2005, 2006, 2007, 2008]) b4_percent_code_get([[top]])[]dnl @@ -1212,7 +1212,7 @@ b4_error_verbose_if([ tok])[) ]b4_epilogue dnl -@output(b4_dir_prefix[]stack.hh@) +@output(b4_dir_prefix[]stack.hh@)@ b4_copyright([Stack handling for Bison parsers in C++], [2002, 2003, 2004, 2005, 2006, 2007, 2008])[ diff --git a/data/location.cc b/data/location.cc index 4b79069f..e69e7071 100644 --- a/data/location.cc +++ b/data/location.cc @@ -1,6 +1,6 @@ # C++ skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, # Inc. # This program is free software: you can redistribute it and/or modify @@ -19,9 +19,9 @@ # We do want M4 expansion after # for CPP macros. m4_changecom() m4_divert_push(0)dnl -@output(b4_dir_prefix[]position.hh@) +@output(b4_dir_prefix[]position.hh@)@ b4_copyright([Positions for Bison parsers in C++], - [2002, 2003, 2004, 2005, 2006])[ + [2002, 2003, 2004, 2005, 2006, 2008])[ /** ** \file position.hh @@ -143,9 +143,9 @@ b4_copyright([Positions for Bison parsers in C++], ]b4_namespace_close[ #endif // not BISON_POSITION_HH] -@output(b4_dir_prefix[]location.hh@) +@output(b4_dir_prefix[]location.hh@)@ b4_copyright([Locations for Bison parsers in C++], - [2002, 2003, 2004, 2005, 2006])[ + [2002, 2003, 2004, 2005, 2006, 2008])[ /** ** \file location.hh