]> git.saurik.com Git - bison.git/commitdiff
Avoid the spurious initial empty line.
authorAkim Demaille <demaille@gostai.com>
Mon, 21 Jul 2008 12:19:14 +0000 (14:19 +0200)
committerAkim Demaille <demaille@gostai.com>
Tue, 4 Nov 2008 20:21:34 +0000 (21:21 +0100)
* data/lalr1-fusion.cc, data/location.cc: Put a trailing "@" at
the end of @output request to suppress the empty line that
results.

ChangeLog
data/lalr1-fusion.cc
data/location.cc

index 4a211d21997d3ad5c6c12d6925ba138b2c8be7da..bbc793bf672410cae5db59d121008a8433ee2a1a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-04  Akim Demaille  <demaille@gostai.com>
+
+       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  <demaille@gostai.com>
 
        Remove parser::rhs_number_type.
 2008-11-04  Akim Demaille  <demaille@gostai.com>
 
        Remove parser::rhs_number_type.
index e60ab9e561f8c226b565c891ef91149d76aba418..48cefdd9acf862db2d922c95e04f335d5cb6108d 100644 (file)
@@ -147,7 +147,7 @@ m4_include(b4_pkgdatadir/[location.cc])
 m4_changecom()
 m4_divert_push(0)dnl
 b4_defines_if(
 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.
 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
 
 [#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
 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
 
 ]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])[
 
 b4_copyright([Stack handling for Bison parsers in C++],
              [2002, 2003, 2004, 2005, 2006, 2007, 2008])[
 
index 4b79069fb6c6d7398829cc3bc40ec1d6ef42f395..e69e7071de910dd4549756dc24e98ef15be19c29 100644 (file)
@@ -1,6 +1,6 @@
 # C++ skeleton for Bison
 
 # 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
 # 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
 # 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++],
 b4_copyright([Positions for Bison parsers in C++],
-  [2002, 2003, 2004, 2005, 2006])[
+             [2002, 2003, 2004, 2005, 2006, 2008])[
 
 /**
  ** \file position.hh
 
 /**
  ** \file position.hh
@@ -143,9 +143,9 @@ b4_copyright([Positions for Bison parsers in C++],
 
 ]b4_namespace_close[
 #endif // not BISON_POSITION_HH]
 
 ]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++],
 b4_copyright([Locations for Bison parsers in C++],
-  [2002, 2003, 2004, 2005, 2006])[
+             [2002, 2003, 2004, 2005, 2006, 2008])[
 
 /**
  ** \file location.hh
 
 /**
  ** \file location.hh