diff --git a/ChangeLog b/ChangeLog index 071a754c..db05d994 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,65 @@ +2010-06-17 Paul Eggert + + Do not use date ranges in copyright notices. + See http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices + + * HACKING, Makefile.am, NEWS, PACKAGING, README, README-alpha: + * TODO, bootstrap, bootstrap.conf: + * build-aux/update-b4-copyright, cfg.mk, configure.ac: + * data/README, data/bison.m4, data/c++-skel.m4, data/c++.m4: + * data/c-skel.m4, data/c.m4, data/glr.c, data/glr.cc: + * data/java-skel.m4, data/java.m4, data/lalr1.cc: + * data/lalr1.java, data/local.mk, data/location.cc: + * data/stack.hh, data/variant.hh, data/xslt/bison.xsl: + * data/xslt/xml2dot.xsl, data/xslt/xml2text.xsl: + * data/xslt/xml2xhtml.xsl, data/yacc.c, djgpp/Makefile.maint: + * djgpp/README.in, djgpp/config.bat, djgpp/config.sed: + * djgpp/config.site, djgpp/config_h.sed, djgpp/djunpack.bat: + * djgpp/local.mk, djgpp/subpipe.c, djgpp/subpipe.h: + * djgpp/testsuite.sed, doc/bison.texinfo, doc/local.mk: + * doc/refcard.tex, etc/README, etc/bench.pl.in, etc/local.mk: + * examples/calc++/Makefile.am, examples/extexi: + * examples/local.mk, lib/abitset.c, lib/abitset.h: + * lib/bbitset.h, lib/bitset.c, lib/bitset.h: + * lib/bitset_stats.c, lib/bitset_stats.h, lib/bitsetv-print.c: + * lib/bitsetv-print.h, lib/bitsetv.c, lib/bitsetv.h: + * lib/ebitset.c, lib/ebitset.h, lib/get-errno.c: + * lib/get-errno.h, lib/lbitset.c, lib/lbitset.h: + * lib/libiberty.h, lib/local.mk, lib/main.c, lib/timevar.c: + * lib/timevar.def, lib/timevar.h, lib/vbitset.c: + * lib/vbitset.h, lib/yyerror.c, m4/bison-i18n.m4: + * m4/c-working.m4, m4/cxx.m4, m4/subpipe.m4, m4/timevar.m4: + * src/AnnotationList.c, src/AnnotationList.h: + * src/InadequacyList.c, src/InadequacyList.h, src/LR0.c: + * src/LR0.h, src/Sbitset.c, src/Sbitset.h, src/assoc.c: + * src/assoc.h, src/closure.c, src/closure.h, src/complain.c: + * src/complain.h, src/conflicts.c, src/conflicts.h: + * src/derives.c, src/derives.h, src/files.c, src/files.h: + * src/flex-scanner.h, src/getargs.c, src/getargs.h: + * src/gram.c, src/gram.h, src/graphviz.c, src/ielr.c: + * src/ielr.h, src/lalr.c, src/lalr.h, src/local.mk: + * src/location.c, src/location.h, src/main.c: + * src/muscle-tab.c, src/muscle-tab.h, src/named-ref.c: + * src/named-ref.h, src/nullable.c, src/nullable.h: + * src/output.c, src/output.h, src/parse-gram.y: + * src/print-xml.c, src/print-xml.h, src/print.c, src/print.h: + * src/print_graph.c, src/print_graph.h, src/reader.c: + * src/reader.h, src/reduce.c, src/reduce.h, src/relation.c: + * src/relation.h, src/scan-code.h, src/scan-code.l: + * src/scan-gram.h, src/scan-gram.l, src/scan-skel.h: + * src/scan-skel.l, src/state.c, src/state.h, src/symlist.c: + * src/symlist.h, src/symtab.c, src/symtab.h, src/system.h: + * src/tables.c, src/tables.h, src/uniqstr.c, src/uniqstr.h: + * tests/actions.at, tests/atlocal.in, tests/c++.at: + * tests/calc.at, tests/conflicts.at, tests/cxx-type.at: + * tests/existing.at, tests/glr-regression.at: + * tests/headers.at, tests/input.at, tests/java.at: + * tests/local.at, tests/local.mk, tests/named-refs.at: + * tests/output.at, tests/push.at, tests/reduce.at: + * tests/regression.at, tests/sets.at, tests/skeletons.at: + * tests/synclines.at, tests/testsuite.at, tests/torture.at: + Don't use date ranges in copyright notices. + 2010-05-11 Akim Demaille lalrl1.cc: give a chance to user defined YYLLOC_DEFAULT. @@ -25557,8 +25619,9 @@ ----- - Copyright (C) 1987-1988, 1991-2010 Free Software Foundation, - Inc. + Copyright (C) 1987, 1988, 1991, 1992, 1993, 1994, 1995, 1996, + 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, + 2008, 2009, 2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this diff --git a/HACKING b/HACKING index 0cdabf9c..1d9dbc63 100644 --- a/HACKING +++ b/HACKING @@ -369,7 +369,8 @@ Push these changes. ----- -Copyright (C) 2002-2005, 2007-2010 Free Software Foundation, Inc. +Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free +Software Foundation, Inc. This file is part of GNU Bison. diff --git a/Makefile.am b/Makefile.am index 325c9cf7..b5d88556 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,7 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*- -## Copyright (C) 2001-2010 Free Software Foundation, Inc. + +## Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +## 2010 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 diff --git a/NEWS b/NEWS index 2da19c7b..e5ebfe4b 100644 --- a/NEWS +++ b/NEWS @@ -1428,7 +1428,9 @@ End: ----- -Copyright (C) 1995-2010 Free Software Foundation, Inc. +Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, +2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, +Inc. This file is part of Bison, the GNU Parser Generator. diff --git a/PACKAGING b/PACKAGING index 12cd2953..546e9112 100644 --- a/PACKAGING +++ b/PACKAGING @@ -36,7 +36,7 @@ to the bison package. ----- -Copyright (C) 2002, 2005, 2009-2010 Free Software Foundation, Inc. +Copyright (C) 2002, 2005, 2009, 2010 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. diff --git a/README b/README index 11466572..c99265ed 100644 --- a/README +++ b/README @@ -40,8 +40,8 @@ End: ----- -Copyright (C) 1992, 1998-1999, 2003-2005, 2008-2010 Free Software -Foundation, Inc. +Copyright (C) 1992, 1998, 1999, 2003, 2004, 2005, 2008, 2009, 2010 +Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. diff --git a/README-alpha b/README-alpha index 70122b99..abc44baf 100644 --- a/README-alpha +++ b/README-alpha @@ -12,7 +12,7 @@ the problems you encounter. ----- -Copyright (C) 2002, 2004, 2009-2010 Free Software Foundation, Inc. +Copyright (C) 2002, 2004, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Bison. diff --git a/TODO b/TODO index d9221b0e..e2f9213b 100644 --- a/TODO +++ b/TODO @@ -474,7 +474,8 @@ Here's a proposal for how a new implementation might look: ----- -Copyright (C) 2001-2004, 2006, 2008-2010 Free Software Foundation, Inc. +Copyright (C) 2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010 Free +Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. diff --git a/bootstrap b/bootstrap index 53d7f287..04dbfba3 100755 --- a/bootstrap +++ b/bootstrap @@ -2,7 +2,8 @@ # Bootstrap this package from checked-out sources. -# Copyright (C) 2003-2010 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 diff --git a/bootstrap.conf b/bootstrap.conf index be1c83d7..4d9aaf8f 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -1,6 +1,6 @@ # Bootstrap configuration. -# Copyright (C) 2006-2010 Free Software Foundation, Inc. +# Copyright (C) 2006, 2007, 2008, 2009, 2010 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 diff --git a/build-aux/update-b4-copyright b/build-aux/update-b4-copyright index 689daad6..63a33359 100755 --- a/build-aux/update-b4-copyright +++ b/build-aux/update-b4-copyright @@ -3,8 +3,8 @@ # Update b4_copyright invocations or b4_copyright_years definitions to # include the current year. -# Copyright (C) 2009-2010 Free Software Foundation, Inc. -# +# Copyright (C) 2009, 2010 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 # the Free Software Foundation; either version 3, or (at your option) @@ -73,19 +73,10 @@ while (/($old_re)/gx) # Put spaces after commas. $year_lines =~ s/, ?/, /g; - # Compress to intervals. - $year_lines =~ - s/ - (\d{4}) - (?: - (,\ |-) - ((??{ - if ($2 eq '-') { '\d{4}'; } - elsif (!$3) { $1 + 1; } - else { $3 + 1; } - })) - )+ - /$1-$3/gx; + # Do not compress to intervals; for example, do not replace + # "2008, 2009, 2010" with "2008-2010". See the Copyright + # Notices section in Information for Maintainers of GNU Software, at: + # http://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices # Format within margin. my $year_lines_new; diff --git a/cfg.mk b/cfg.mk index 8774d0e6..0fda0dc5 100644 --- a/cfg.mk +++ b/cfg.mk @@ -1,5 +1,6 @@ # Customize maint.mk -*- makefile -*- -# Copyright (C) 2008-2010 Free Software Foundation, Inc. + +# Copyright (C) 2008, 2009, 2010 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 @@ -45,4 +46,4 @@ bootstrap-tools = autoconf,automake,flex,gnulib update-copyright: update-b4-copyright update-package-copyright-year update-copyright-env = \ - UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1 + UPDATE_COPYRIGHT_FORCE=1 diff --git a/configure.ac b/configure.ac index b0d6c5b0..caa4e0c9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ # Configure template for GNU Bison. -*-Autoconf-*- # -# Copyright (C) 2001-2010 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 diff --git a/data/README b/data/README index 1698e252..f0c77327 100644 --- a/data/README +++ b/data/README @@ -52,7 +52,7 @@ into various formats. ----- -Copyright (C) 2002, 2008-2010 Free Software Foundation, Inc. +Copyright (C) 2002, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Bison. diff --git a/data/bison.m4 b/data/bison.m4 index 079a5e56..74b59875 100644 --- a/data/bison.m4 +++ b/data/bison.m4 @@ -1,7 +1,9 @@ -*- Autoconf -*- # Language-independent M4 Macros for Bison. -# Copyright (C) 2002, 2004-2010 Free Software Foundation, Inc. + +# Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 diff --git a/data/c++-skel.m4 b/data/c++-skel.m4 index f017abc2..2bfe14cc 100644 --- a/data/c++-skel.m4 +++ b/data/c++-skel.m4 @@ -1,7 +1,8 @@ -*- Autoconf -*- # C++ skeleton dispatching for Bison. -# Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc. + +# Copyright (C) 2006, 2007, 2009, 2010 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 diff --git a/data/c++.m4 b/data/c++.m4 index e1a0c1f0..610eaaab 100644 --- a/data/c++.m4 +++ b/data/c++.m4 @@ -2,7 +2,8 @@ # C++ skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +# 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 diff --git a/data/c-skel.m4 b/data/c-skel.m4 index a491b607..bb9c5cbb 100644 --- a/data/c-skel.m4 +++ b/data/c-skel.m4 @@ -1,7 +1,8 @@ -*- Autoconf -*- # C skeleton dispatching for Bison. -# Copyright (C) 2006-2007, 2009-2010 Free Software Foundation, Inc. + +# Copyright (C) 2006, 2007, 2009, 2010 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 diff --git a/data/c.m4 b/data/c.m4 index e7308be3..9e7b3193 100644 --- a/data/c.m4 +++ b/data/c.m4 @@ -1,7 +1,9 @@ -*- Autoconf -*- # C M4 Macros for Bison. -# Copyright (C) 2002, 2004-2010 Free Software Foundation, Inc. + +# Copyright (C) 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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 diff --git a/data/glr.c b/data/glr.c index bb0f6d7f..3c6ea8d7 100644 --- a/data/glr.c +++ b/data/glr.c @@ -1,7 +1,9 @@ -*- C -*- # GLR skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. + +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 @@ -157,7 +159,7 @@ m4_changecom() m4_divert_push(0)dnl @output(b4_parser_file_name@)@ b4_copyright([Skeleton implementation for Bison GLR parsers in C], - [2002-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) [ /* C GLR parser skeleton written by Paul Hilfinger. */ @@ -2578,7 +2580,7 @@ m4_if(b4_skeleton, ["glr.c"], [b4_defines_if( [@output(b4_spec_defines_file@)@ b4_copyright([Skeleton interface for Bison GLR parsers in C], - [2002-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) b4_shared_declarations diff --git a/data/glr.cc b/data/glr.cc index 24b3fbbe..547a3dd9 100644 --- a/data/glr.cc +++ b/data/glr.cc @@ -1,5 +1,7 @@ # C++ GLR skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. + +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 @@ -215,7 +217,7 @@ m4_popdef([b4_parse_param]) m4_divert_push(0) @output(b4_spec_defines_file@)@ b4_copyright([Skeleton interface for Bison GLR parsers in C++], - [2002-2010])[ + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010])[ /* C++ GLR parser skeleton written by Akim Demaille. */ diff --git a/data/java-skel.m4 b/data/java-skel.m4 index b5e66e44..bb7d6ed9 100644 --- a/data/java-skel.m4 +++ b/data/java-skel.m4 @@ -1,7 +1,8 @@ -*- Autoconf -*- # Java skeleton dispatching for Bison. -# Copyright (C) 2007, 2009-2010 Free Software Foundation, Inc. + +# Copyright (C) 2007, 2009, 2010 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 diff --git a/data/java.m4 b/data/java.m4 index d216c1b0..781a7df2 100644 --- a/data/java.m4 +++ b/data/java.m4 @@ -2,7 +2,7 @@ # Java language support for Bison -# Copyright (C) 2007-2010 Free Software Foundation, Inc. +# Copyright (C) 2007, 2008, 2009, 2010 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 diff --git a/data/lalr1.cc b/data/lalr1.cc index 646ee904..bd1faa56 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -1,6 +1,7 @@ # C++ skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 @@ -115,7 +116,7 @@ m4_popdef([b4_dollar_dollar])dnl m4_pushdef([b4_copyright_years], - [2002-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) m4_define([b4_parser_class_name], [b4_percent_define_get([[parser_class_name]])]) diff --git a/data/lalr1.java b/data/lalr1.java index c156e5e7..c6bd4038 100644 --- a/data/lalr1.java +++ b/data/lalr1.java @@ -1,6 +1,6 @@ # Java skeleton for Bison -*- autoconf -*- -# Copyright (C) 2007-2010 Free Software Foundation, Inc. +# Copyright (C) 2007, 2008, 2009, 2010 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 @@ -33,7 +33,7 @@ b4_symbol_foreach([b4_symbol_no_destructor_assert]) m4_divert_push(0)dnl @output(b4_parser_file_name@)@ b4_copyright([Skeleton implementation for Bison LALR(1) parsers in Java], - [2007-2010]) + [2007, 2008, 2009, 2010]) b4_percent_define_ifdef([package], [package b4_percent_define_get([package]); ])[/* First part of user declarations. */ diff --git a/data/local.mk b/data/local.mk index 1eb96060..44354a7d 100644 --- a/data/local.mk +++ b/data/local.mk @@ -1,4 +1,5 @@ -## Copyright (C) 2002, 2005-2010 Free Software Foundation, Inc. +## Copyright (C) 2002, 2005, 2006, 2007, 2008, 2009, 2010 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 diff --git a/data/location.cc b/data/location.cc index 5cf96de7..eeef6fb5 100644 --- a/data/location.cc +++ b/data/location.cc @@ -1,6 +1,7 @@ # C++ skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 @@ -16,7 +17,7 @@ # along with this program. If not, see . m4_pushdef([b4_copyright_years], - [2002-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) # We do want M4 expansion after # for CPP macros. m4_changecom() diff --git a/data/stack.hh b/data/stack.hh index b97674c0..49f8c5dd 100644 --- a/data/stack.hh +++ b/data/stack.hh @@ -1,6 +1,7 @@ # C++ skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 @@ -16,7 +17,7 @@ # along with this program. If not, see . m4_pushdef([b4_copyright_years], - [2002-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) # We do want M4 expansion after # for CPP macros. m4_changecom() diff --git a/data/variant.hh b/data/variant.hh index 20279875..832b9672 100644 --- a/data/variant.hh +++ b/data/variant.hh @@ -1,6 +1,7 @@ # C++ skeleton for Bison -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, +# 2010 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 diff --git a/data/xslt/bison.xsl b/data/xslt/bison.xsl index b5d163d3..8d96e65b 100644 --- a/data/xslt/bison.xsl +++ b/data/xslt/bison.xsl @@ -3,7 +3,7 @@