X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/39f6a8d1426417ef23893d8358511ea66cb9b361..8200219a2a98c54a72cd744abbb656e18bd33ccf:/data/lalr1.cc diff --git a/data/lalr1.cc b/data/lalr1.cc index e7620a23..a3f7567a 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -862,7 +862,8 @@ b4_error_verbose_if([int yystate, int yytoken], int yychecklim = yylast_ - yyn + 1; int yyxend = yychecklim < yyntokens_ ? yychecklim : yyntokens_; - // Number of "expected" tokens. + // Number of reported tokens (one for the "unexpected", one per + // "expected"). size_t yycount = 0; // Its maximum. enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };