From 9515e8a7f83cbb920491ceaef03f8e0fe0ce8108 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 22 Apr 2002 08:22:22 +0000 Subject: [PATCH] * data/bison.simple (yyr1): Its type is that of a token number. * data/bison.c++ (r1_): Likewise. * tests/regression.at (Web2c Actions): Adjust. --- ChangeLog | 6 ++++++ data/bison.c++ | 4 ++-- data/bison.simple | 2 +- tests/regression.at | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fe43e4cb..9fd58758 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-04-22 Akim Demaille + + * data/bison.simple (yyr1): Its type is that of a token number. + * data/bison.c++ (r1_): Likewise. + * tests/regression.at (Web2c Actions): Adjust. + 2002-04-22 Akim Demaille * src/reader.c (token_translations_init): 256 is now the default diff --git a/data/bison.c++ b/data/bison.c++ index bfb7fc7a..a0908554 100644 --- a/data/bison.c++ +++ b/data/bison.c++ @@ -228,7 +228,7 @@ namespace yy static const short defgoto_[[]]; static const short table_[[]]; static const short check_[[]]; - static const short r1_[[]]; + static const TokenNumberType r1_[[]]; static const short r2_[[]]; #if YYDEBUG || YYERROR_VERBOSE @@ -666,7 +666,7 @@ yy::b4_name::check_[[]] = }; /* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */ -const short +const yy::b4_name::TokenNumberType yy::b4_name::r1_[[]] = { b4_r1 diff --git a/data/bison.simple b/data/bison.simple index b5591b66..23de5f5b 100644 --- a/data/bison.simple +++ b/data/bison.simple @@ -318,7 +318,7 @@ static const short yytoknum[[]] = }; /* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */ -static const short yyr1[[]] = +static const yy_token_number_type yyr1[[]] = { b4_r1 }; diff --git a/tests/regression.at b/tests/regression.at index 4487dee5..f97b710a 100644 --- a/tests/regression.at +++ b/tests/regression.at @@ -485,7 +485,7 @@ static const short yytoknum[] = { 0, 256, 257, 258, 259, 260, 261, -1 }; -static const short yyr1[] = +static const yy_token_number_type yyr1[] = { 0, 7, 8, 9, 9, 10, 11 }; -- 2.47.2