mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
* src/reader.c (packgram): No longer end `ritem' with a 0
sentinel: it is not used.
This commit is contained in:
@@ -81,11 +81,9 @@
|
||||
contains minus R, which identifies it as the end of a portion and
|
||||
says which rule it is for.
|
||||
|
||||
The portions of RITEM come in order of increasing rule number and
|
||||
are followed by an element which is zero to mark the end. nritems
|
||||
is the total length of ritem, not counting the final zero. Each
|
||||
element of RITEM is called an "item" and its index in RITEM is an
|
||||
item number.
|
||||
The portions of RITEM come in order of increasing rule number.
|
||||
NRITEMS is the total length of RITEM. Each element of RITEM is
|
||||
called an "item" and its index in RITEM is an item number.
|
||||
|
||||
Item numbers are used in the finite state machine to represent
|
||||
places that parsing can get to.
|
||||
|
||||
Reference in New Issue
Block a user