From 95bac741c3c7a9b4fcab1bc1020b7f7b24b90fe0 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Sat, 2 May 2020 08:05:26 +0200 Subject: [PATCH] style: more documentation about errs Suggested by Angelo Borsotti. https://lists.gnu.org/r/bug-bison/2014-02/msg00003.html * src/state.h: here. --- src/state.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/state.h b/src/state.h index 8fd9088a..a087dc83 100644 --- a/src/state.h +++ b/src/state.h @@ -67,7 +67,10 @@ Conflict resolution can decide that certain tokens in certain states should explicitly be errors (for implementing %nonassoc). For each state, the tokens that are errors for this reason are - recorded in an errs structure, which holds the token numbers. + recorded in an errs structure. The generated parser does not + depend on this errs structure, it is used only in the reports + (*.output, etc.) to describe conflicted actions that have been + discarded. There is at least one goto transition present in state zero. It leads to a next-to-final state whose accessing_symbol is the