diff --git a/ChangeLog b/ChangeLog index 463e1d39..b6fe8058 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,71 @@ * doc/fdl.texi: Update to version 1.3, taken from: http://www.gnu.org/licenses/fdl.texi +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/location.cc: + * 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/subpipe.c, djgpp/subpipe.h: + * djgpp/testsuite.sed, doc/bison.texinfo: + * doc/refcard.tex, etc/README, etc/bench.pl.in: + * examples/calc++/Makefile.am, examples/extexi: + * 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/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/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/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: + * data/Makefile.am, data/location.cc, doc/Makefile.am, src/Makefile.am: + * tests/Makefile.am, lib/Makefile.am, examples/Makefile.am: + * etc/Makefile.am: + Don't use date ranges in copyright notices. + 2010-05-11 Akim Demaille lalrl1.cc: give a chance to user defined YYLLOC_DEFAULT. @@ -23199,8 +23264,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 264c5a1c..312677fb 100644 --- a/HACKING +++ b/HACKING @@ -366,7 +366,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 fcd91a74..ecfdf929 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 d890edbb..ed19c4ca 100644 --- a/NEWS +++ b/NEWS @@ -1378,7 +1378,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 ee6f8e9a..c1a2392c 100644 --- a/TODO +++ b/TODO @@ -287,7 +287,8 @@ Equip the parser with a means to create the (visual) parse tree. ----- -Copyright (C) 2001-2004, 2006, 2009-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 e1075502..12e1319c 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 710453b0..6539dc79 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/Makefile.am b/data/Makefile.am index 48ddc6d9..e2592653 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -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/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 d894606f..81337d30 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 2810626a..8fbd42ad 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 964fc2e0..163608c4 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 dcd56c23..42e21b9f 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 @@ -149,7 +151,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. */ @@ -2642,7 +2644,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 a55df4f3..5e9f248d 100644 --- a/data/glr.cc +++ b/data/glr.cc @@ -1,7 +1,9 @@ -*- C -*- # 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 @@ -219,7 +221,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-2006, 2009-2010])[ + [2002, 2003, 2004, 2005, 2006, 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 91a1ed73..590f564a 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 641a45ce..0238ed61 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 @@ -35,7 +36,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-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) dnl FIXME: This is wrong, we want computed header guards. [ /* C++ LALR(1) parser skeleton written by Akim Demaille. */ @@ -282,7 +283,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-2010]) + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) b4_percent_code_get([[top]])[]dnl m4_if(b4_prefix, [yy], [], [ @@ -1089,7 +1090,7 @@ b4_error_verbose_if([int yystate, int yytoken], dnl @output(b4_dir_prefix[]stack.hh@)@ b4_copyright([Stack handling for Bison parsers in C++], - [2002-2010])[ + [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010])[ #ifndef BISON_STACK_HH # define BISON_STACK_HH diff --git a/data/lalr1.java b/data/lalr1.java index 8779c877..8ec266f1 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 @@ -25,7 +25,7 @@ m4_ifval(m4_defn([b4_symbol_destructors]), 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/location.cc b/data/location.cc index 50a9065b..1d8e8ec6 100644 --- a/data/location.cc +++ b/data/location.cc @@ -1,6 +1,7 @@ # C++ skeleton for Bison -# Copyright (C) 2002-2007, 2009-2010 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 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 @@ -20,7 +21,7 @@ m4_changecom() m4_divert_push(0)dnl @output(b4_dir_prefix[]position.hh@)@ b4_copyright([Positions for Bison parsers in C++], - [2002-2007, 2009-2010])[ + [2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010])[ /** ** \file position.hh @@ -145,7 +146,7 @@ b4_copyright([Positions for Bison parsers in C++], #endif // not BISON_POSITION_HH] @output(b4_dir_prefix[]location.hh@)@ b4_copyright([Locations for Bison parsers in C++], - [2002-2007, 2009-2010])[ + [2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010])[ /** ** \file location.hh 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 @@