mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
Update copyright date.
This commit is contained in:
16
data/glr.c
16
data/glr.c
@@ -1,7 +1,7 @@
|
|||||||
m4_divert(-1) -*- C -*-
|
m4_divert(-1) -*- C -*-
|
||||||
|
|
||||||
# GLR skeleton for Bison
|
# GLR skeleton for Bison
|
||||||
# Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
|
# Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -137,7 +137,8 @@ m4_define([b4_rhs_location],
|
|||||||
m4_changecom()
|
m4_changecom()
|
||||||
m4_divert(0)dnl
|
m4_divert(0)dnl
|
||||||
@output @output_parser_name@
|
@output @output_parser_name@
|
||||||
b4_copyright([Skeleton parser for GLR parsing with Bison], [2002, 2003, 2004])
|
b4_copyright([Skeleton parser for GLR parsing with Bison],
|
||||||
|
[2002, 2003, 2004, 2005])
|
||||||
[
|
[
|
||||||
/* This is the parser code for GLR (Generalized LR) parser. */
|
/* This is the parser code for GLR (Generalized LR) parser. */
|
||||||
|
|
||||||
@@ -587,7 +588,7 @@ struct yyGLRState {
|
|||||||
size_t yyposn;
|
size_t yyposn;
|
||||||
union {
|
union {
|
||||||
/** First in a chain of alternative reductions producing the
|
/** First in a chain of alternative reductions producing the
|
||||||
* non-terminal corresponding to this state, threaded through
|
* non-terminal corresponding to this state, threaded through
|
||||||
* yynext. */
|
* yynext. */
|
||||||
yySemanticOption* yyfirstVal;
|
yySemanticOption* yyfirstVal;
|
||||||
/** Semantic value for this state. */
|
/** Semantic value for this state. */
|
||||||
@@ -614,7 +615,7 @@ struct yySemanticOption {
|
|||||||
yySemanticOption* yynext;
|
yySemanticOption* yynext;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Type of the items in the GLR stack. The yyisState field
|
/** Type of the items in the GLR stack. The yyisState field
|
||||||
* indicates which item of the union is valid. */
|
* indicates which item of the union is valid. */
|
||||||
union yyGLRStackItem {
|
union yyGLRStackItem {
|
||||||
yyGLRState yystate;
|
yyGLRState yystate;
|
||||||
@@ -1313,7 +1314,7 @@ yymergeOptionSets (yySemanticOption* yyy0, yySemanticOption* yyy1)
|
|||||||
{
|
{
|
||||||
if (yys0 == yys1)
|
if (yys0 == yys1)
|
||||||
break;
|
break;
|
||||||
else if (yys0->yyresolved)
|
else if (yys0->yyresolved)
|
||||||
{
|
{
|
||||||
yys1->yyresolved = yytrue;
|
yys1->yyresolved = yytrue;
|
||||||
yys1->yysemantics.yysval = yys0->yysemantics.yysval;
|
yys1->yysemantics.yysval = yys0->yysemantics.yysval;
|
||||||
@@ -1323,7 +1324,7 @@ yymergeOptionSets (yySemanticOption* yyy0, yySemanticOption* yyy1)
|
|||||||
yys0->yyresolved = yytrue;
|
yys0->yyresolved = yytrue;
|
||||||
yys0->yysemantics.yysval = yys1->yysemantics.yysval;
|
yys0->yysemantics.yysval = yys1->yysemantics.yysval;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
yySemanticOption** yyz0p;
|
yySemanticOption** yyz0p;
|
||||||
yySemanticOption* yyz1;
|
yySemanticOption* yyz1;
|
||||||
@@ -2101,7 +2102,8 @@ yypdumpstack (yyGLRStack* yystack)
|
|||||||
b4_epilogue
|
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], [2002, 2003, 2004])
|
b4_copyright([Skeleton parser for GLR parsing with Bison],
|
||||||
|
[2002, 2003, 2004, 2005])
|
||||||
|
|
||||||
b4_token_defines(b4_tokens)
|
b4_token_defines(b4_tokens)
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ m4_divert(0)dnl
|
|||||||
m4_if(b4_defines_flag, 0, [],
|
m4_if(b4_defines_flag, 0, [],
|
||||||
[@output @output_header_name@
|
[@output @output_header_name@
|
||||||
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])[
|
[2002, 2003, 2004, 2005])[
|
||||||
/* FIXME: This is wrong, we want computed header guards.
|
/* FIXME: This is wrong, we want computed header guards.
|
||||||
I don't know why the macros are missing now. :( */
|
I don't know why the macros are missing now. :( */
|
||||||
#ifndef PARSER_HEADER_H
|
#ifndef PARSER_HEADER_H
|
||||||
@@ -408,7 +408,7 @@ namespace yy
|
|||||||
])dnl
|
])dnl
|
||||||
@output @output_parser_name@
|
@output @output_parser_name@
|
||||||
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])
|
[2002, 2003, 2004, 2005])
|
||||||
m4_if(b4_prefix[], [yy], [],
|
m4_if(b4_prefix[], [yy], [],
|
||||||
[
|
[
|
||||||
// Take the name prefix into account.
|
// Take the name prefix into account.
|
||||||
@@ -1051,7 +1051,7 @@ const yy::]b4_parser_class_name[::token_number_type yy::]b4_parser_class_name[::
|
|||||||
]b4_epilogue
|
]b4_epilogue
|
||||||
dnl
|
dnl
|
||||||
@output stack.hh
|
@output stack.hh
|
||||||
b4_copyright([stack handling for Bison C++ parsers], [2002, 2003, 2004])[
|
b4_copyright([stack handling for Bison C++ parsers], [2002, 2003, 2004, 2005])[
|
||||||
|
|
||||||
#ifndef BISON_STACK_HH
|
#ifndef BISON_STACK_HH
|
||||||
# define BISON_STACK_HH
|
# define BISON_STACK_HH
|
||||||
@@ -1150,7 +1150,7 @@ namespace yy
|
|||||||
#endif // not BISON_STACK_HH]
|
#endif // not BISON_STACK_HH]
|
||||||
dnl
|
dnl
|
||||||
@output position.hh
|
@output position.hh
|
||||||
b4_copyright([Position class for Bison C++ parsers], [2002, 2003, 2004])[
|
b4_copyright([Position class for Bison C++ parsers], [2002, 2003, 2004, 2005])[
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** \file position.hh
|
** \file position.hh
|
||||||
@@ -1263,7 +1263,7 @@ namespace yy
|
|||||||
}
|
}
|
||||||
#endif // not BISON_POSITION_HH]
|
#endif // not BISON_POSITION_HH]
|
||||||
@output location.hh
|
@output location.hh
|
||||||
b4_copyright([Location class for Bison C++ parsers], [2002, 2003, 2004])[
|
b4_copyright([Location class for Bison C++ parsers], [2002, 2003, 2004, 2005])[
|
||||||
|
|
||||||
/**
|
/**
|
||||||
** \file location.hh
|
** \file location.hh
|
||||||
|
|||||||
Reference in New Issue
Block a user