* data/yacc.c: Say "parser skeleton" rather than "file", since

it's no longer just a file.
* data/glr.c: Grant a special exception for C GLR parsers, that
reads like the already-existing exception for C LALR(1) parsers.
* data/glr.cc: Likewise.
* data/lalr1.cc: Likewise.
* data/location.cc: Likewise.
* data/yacc.c: Reword the "written by" statement to clarify that
it was the parser skeleton, not the entire output file.
* data/glr.c: Written by Paul Hilfinger.
* data/glr.cc: Written by Akim Demaille.
* data/lalr1.cc: Likewise.
This commit is contained in:
Paul Eggert
2005-12-01 20:03:55 +00:00
parent d9963c8597
commit af3412cdea
6 changed files with 53 additions and 9 deletions

View File

@@ -1,3 +1,18 @@
2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
* data/yacc.c: Say "parser skeleton" rather than "file", since
it's no longer just a file.
* data/glr.c: Grant a special exception for C GLR parsers, that
reads like the already-existing exception for C LALR(1) parsers.
* data/glr.cc: Likewise.
* data/lalr1.cc: Likewise.
* data/location.cc: Likewise.
* data/yacc.c: Reword the "written by" statement to clarify that
it was the parser skeleton, not the entire output file.
* data/glr.c: Written by Paul Hilfinger.
* data/glr.cc: Written by Akim Demaille.
* data/lalr1.cc: Likewise.
2005-11-18 Paul Eggert <eggert@cs.ucla.edu> 2005-11-18 Paul Eggert <eggert@cs.ucla.edu>
* data/yacc.c (yy_reduce_print, YY_REDUCE_PRINT): * data/yacc.c (yy_reduce_print, YY_REDUCE_PRINT):

View File

@@ -2390,7 +2390,15 @@ b4_epilogue
m4_if(b4_defines_flag, 0, [], m4_if(b4_defines_flag, 0, [],
[@output @output_header_name@ [@output @output_header_name@
b4_copyright([Skeleton parser for GLR parsing with Bison], b4_copyright([Skeleton parser for GLR parsing with Bison],
[2002, 2003, 2004, 2005]) [2002, 2003, 2004, 2005])[
/* As a special exception, when this parser skeleton is copied by
Bison into a Bison output file, you may use that output file
without restriction. This special exception was added by the Free
Software Foundation for C GLR parsers in version 2.2 of Bison. */
/* C GLR parser skeleton written by Paul Hilfinger. */
]
b4_shared_declarations b4_shared_declarations

View File

@@ -167,6 +167,15 @@ m4_include(b4_pkgdatadir/[glr.c])
@output @output_header_name@ @output @output_header_name@
b4_copyright([C++ Skeleton parser for GLALR(1) parsing with Bison], b4_copyright([C++ Skeleton parser for GLALR(1) parsing with Bison],
[2002, 2003, 2004, 2005])[ [2002, 2003, 2004, 2005])[
/* As a special exception, when this parser skeleton is copied by
Bison into a Bison output file, you may use that output file
without restriction. This special exception was added by the Free
Software Foundation for C++ GLR parsers in version 2.2 of
Bison. */
/* C++ GLR parser skeleton written by Akim Demaille. */
#ifndef PARSER_HEADER_H #ifndef PARSER_HEADER_H
# define PARSER_HEADER_H # define PARSER_HEADER_H

View File

@@ -32,7 +32,14 @@ m4_if(b4_defines_flag, 0, [],
b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison], b4_copyright([C++ Skeleton parser for LALR(1) parsing with Bison],
[2002, 2003, 2004, 2005]) [2002, 2003, 2004, 2005])
dnl FIXME: This is wrong, we want computed header guards. dnl FIXME: This is wrong, we want computed header guards.
[ [/* As a special exception, when this parser skeleton is copied by
Bison into a Bison output file, you may use that output file
without restriction. This special exception was added by the Free
Software Foundation for C++ LALR(1) parsers in version 2.2 of
Bison. */
/* C++ LALR(1) parser skeleton written by Akim Demaille. */
#ifndef PARSER_HEADER_H #ifndef PARSER_HEADER_H
# define PARSER_HEADER_H # define PARSER_HEADER_H

View File

@@ -25,7 +25,11 @@ m4_include(b4_pkgdatadir/[c++.m4])
m4_changecom() m4_changecom()
m4_divert(0)dnl m4_divert(0)dnl
@output b4_dir_prefix[]position.hh @output b4_dir_prefix[]position.hh
b4_copyright([Position class for Bison C++ parsers], [2002, 2003, 2004, 2005])[ b4_copyright([Position class for Bison C++ parsers], [2002, 2003, 2004, 2005])dnl
[/* As a special exception, when this parser skeleton is copied by
Bison into a Bison output file, you may use that output file
without restriction. This special exception was added by the Free
Software Foundation for C++ parsers in version 2.2 of Bison. */
/** /**
** \file position.hh ** \file position.hh

View File

@@ -137,13 +137,14 @@ m4_divert(0)dnl
b4_copyright([Skeleton parser for Yacc-like parsing with Bison], b4_copyright([Skeleton parser for Yacc-like parsing with Bison],
[1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005])[ [1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005])[
/* As a special exception, when this file is copied by Bison into a /* As a special exception, when this parser skeleton is copied by
Bison output file, you may use that output file without restriction. Bison into a Bison output file, you may use that output file
This special exception was added by the Free Software Foundation without restriction. This special exception was added by the Free
in version 1.24 of Bison. */ Software Foundation for C LALR(1) parsers in version 1.24 of
Bison. */
/* Written by Richard Stallman by simplifying the original so called /* C LALR(1) parser skeleton written by Richard Stallman, by
``semantic'' parser. */ simplifying the original so-called "semantic" parser. */
/* All symbols defined below should begin with yy or YY, to avoid /* All symbols defined below should begin with yy or YY, to avoid
infringing on user name space. This should be done even for local infringing on user name space. This should be done even for local