* src/output.c (prepare_tokens): Go up to ntokens, not ntokens + 1.

* doc/bison.texinfo (Decl Summary): s/$illegal/$undefined./.
* tests/regression.at (Web2c Actions): Adjust.
This commit is contained in:
Akim Demaille
2002-07-26 06:24:11 +00:00
parent 4b3d3a8e46
commit 3650b4b8dd
4 changed files with 15 additions and 9 deletions

View File

@@ -587,9 +587,9 @@ static const char *const yytname[] =
"$", "error", "$undefined.", "\"if\"", "\"const\"", "\"then\"",
"\"else\"", "$axiom", "statement", "struct_stat", "if", "else", 0
};
static const short yytoknum[] =
static const unsigned short yytoknum[] =
{
0, 256, 257, 258, 259, 260, 261, -1
0, 256, 257, 258, 259, 260, 261
};
static const unsigned char yyr1[] =
{