X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/890ab17c84437fcfc56195e72484110c5c231a46..77373efad24be4ed77391c9e8ab2f85285810311:/data/lalr1.cc diff --git a/data/lalr1.cc b/data/lalr1.cc index 342d87cf..3a15012a 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -841,7 +841,8 @@ b4_error_verbose_if([, int tok])[) if (yypact_ninf_ < yyn && yyn <= yylast_) { /* Start YYX at -YYN if negative to avoid negative indexes in - YYCHECK. */ + YYCHECK. In other words, skip the first -YYN actions for this + state because they are default actions. */ int yyxbegin = yyn < 0 ? -yyn : 0; /* Stay within bounds of both yycheck and yytname. */