* data/bison.simple (yyr1): Its type is that of a token number.

* data/bison.c++ (r1_): Likewise.
* tests/regression.at (Web2c Actions): Adjust.
This commit is contained in:
Akim Demaille
2002-04-22 08:22:22 +00:00
parent 23c5a17453
commit 9515e8a7f8
4 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2002-04-22 Akim Demaille <akim@epita.fr>
* 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 <akim@epita.fr> 2002-04-22 Akim Demaille <akim@epita.fr>
* src/reader.c (token_translations_init): 256 is now the default * src/reader.c (token_translations_init): 256 is now the default

View File

@@ -228,7 +228,7 @@ namespace yy
static const short defgoto_[[]]; static const short defgoto_[[]];
static const short table_[[]]; static const short table_[[]];
static const short check_[[]]; static const short check_[[]];
static const short r1_[[]]; static const TokenNumberType r1_[[]];
static const short r2_[[]]; static const short r2_[[]];
#if YYDEBUG || YYERROR_VERBOSE #if YYDEBUG || YYERROR_VERBOSE
@@ -666,7 +666,7 @@ yy::b4_name::check_[[]] =
}; };
/* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */ /* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */
const short const yy::b4_name::TokenNumberType
yy::b4_name::r1_[[]] = yy::b4_name::r1_[[]] =
{ {
b4_r1 b4_r1

View File

@@ -318,7 +318,7 @@ static const short yytoknum[[]] =
}; };
/* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */ /* YYR1[[YYN]] -- Symbol number of symbol that rule YYN derives. */
static const short yyr1[[]] = static const yy_token_number_type yyr1[[]] =
{ {
b4_r1 b4_r1
}; };

View File

@@ -485,7 +485,7 @@ static const short yytoknum[] =
{ {
0, 256, 257, 258, 259, 260, 261, -1 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 0, 7, 8, 9, 9, 10, 11
}; };