bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Avoid the spurious initial empty line.


From: Akim Demaille
Subject: [PATCH] Avoid the spurious initial empty line.
Date: Tue, 04 Nov 2008 20:21:42 -0000

        * data/lalr1-fusion.cc, data/location.cc: Put a trailing "@" at
        the end of @output request to suppress the empty line that
        results.
---
 ChangeLog            |    7 +++++++
 data/lalr1-fusion.cc |    6 +++---
 data/location.cc     |   10 +++++-----
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4a211d2..bbc793b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2008-11-04  Akim Demaille  <address@hidden>
 
+       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  <address@hidden>
+
        Remove parser::rhs_number_type.
        * data/lalr1-fusion.cc (rhs_number_type): No longer define it.
        (yyrhs_): Use b4_table_define.
diff --git a/data/lalr1-fusion.cc b/data/lalr1-fusion.cc
index e60ab9e..48cefdd 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(
address@hidden(b4_spec_defines_file@)
address@hidden(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
address@hidden(b4_parser_file_name@)
address@hidden(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
address@hidden(b4_dir_prefix[]stack.hh@)
address@hidden(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 4b79069..e69e707 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
address@hidden(b4_dir_prefix[]position.hh@)
address@hidden(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]
address@hidden(b4_dir_prefix[]location.hh@)
address@hidden(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
-- 
1.6.0.2.588.g3102





reply via email to

[Prev in Thread] Current Thread [Next in Thread]