From cf98343c1df980ad140fd71aa3d66dea3db8913c Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 21 Oct 2008 15:37:26 -0500 Subject: [PATCH] Space and comments changes. * data/c++.m4, data/glr.c, data/lalr1.cc: Copyright year changes. * data/c.m4, data/lalr1.cc: Space changes. --- ChangeLog | 6 ++++++ data/c++.m4 | 2 +- data/c.m4 | 4 ++++ data/glr.c | 2 +- data/lalr1.cc | 16 +++++++++------- 5 files changed, 21 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8fb3ee6f..e222c8c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-28 Akim Demaille + + Space and comments changes. + * data/c++.m4, data/glr.c, data/lalr1.cc: Copyright year changes. + * data/c.m4, data/lalr1.cc: Space changes. + 2008-10-28 Akim Demaille Make gnulib a submodule. diff --git a/data/c++.m4 b/data/c++.m4 index 91a9cc34..593390d6 100644 --- a/data/c++.m4 +++ b/data/c++.m4 @@ -2,7 +2,7 @@ # 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 diff --git a/data/c.m4 b/data/c.m4 index 5d74e866..1fe4bc56 100644 --- a/data/c.m4 +++ b/data/c.m4 @@ -133,6 +133,8 @@ m4_define([b4_int_type], m4_define([b4_int_type_for], [b4_int_type($1_min, $1_max)]) + + ## ---------## ## Values. ## ## ---------## @@ -144,6 +146,8 @@ m4_define([b4_int_type_for], m4_define([b4_null], [0]) + + ## ------------------------- ## ## Assigning token numbers. ## ## ------------------------- ## diff --git a/data/glr.c b/data/glr.c index 49588fe1..c6de6d8f 100644 --- a/data/glr.c +++ b/data/glr.c @@ -1,7 +1,7 @@ -*- C -*- # GLR 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 diff --git a/data/lalr1.cc b/data/lalr1.cc index 927466a2..9d108c4a 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -1,7 +1,7 @@ # C++ skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, -# Inc. +# 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 # it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ m4_divert_push(0)dnl b4_defines_if( [@output(b4_spec_defines_file@) b4_copyright([Skeleton interface for Bison LALR(1) parsers in C++], - [2002, 2003, 2004, 2005, 2006]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008]) dnl FIXME: This is wrong, we want computed header guards. [ /* C++ LALR(1) parser skeleton written by Akim Demaille. */ @@ -298,7 +298,7 @@ b4_percent_code_get([[provides]])[]dnl ])dnl @output(b4_parser_file_name@) b4_copyright([Skeleton implementation for Bison LALR(1) parsers in C++], - [2002, 2003, 2004, 2005, 2006]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008]) b4_percent_code_get([[top]])[]dnl m4_if(b4_prefix, [yy], [], [ @@ -674,7 +674,8 @@ m4_ifdef([b4_lex_param], [, ]b4_lex_param))[; switch (yyn) { ]b4_user_actions[ - default: break; + default: + break; } YY_SYMBOL_PRINT ("-> $$ =", yyr1_[yyn], &yyval, &yyloc); @@ -1054,7 +1055,7 @@ b4_error_verbose_if([, int tok])[) dnl @output(b4_dir_prefix[]stack.hh@) b4_copyright([Stack handling for Bison parsers in C++], - [2002, 2003, 2004, 2005, 2006])[ + [2002, 2003, 2004, 2005, 2006, 2007, 2008])[ #ifndef BISON_STACK_HH # define BISON_STACK_HH @@ -1149,5 +1150,6 @@ b4_copyright([Stack handling for Bison parsers in C++], }; ]b4_namespace_close[ -#endif // not BISON_STACK_HH] +#endif // not BISON_STACK_HH[]dnl +] m4_divert_pop(0) -- 2.45.2