mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 06:43:03 +00:00
* LR0.c (new_itemsets): Fix wording in comments: say item index rather
than item number. * closure.c (closure): Likewise. * state.h (reductions): Comment sorting of rules. (state): Comment sorting of items.
This commit is contained in:
@@ -185,6 +185,7 @@ typedef struct
|
||||
{
|
||||
int num;
|
||||
bitset *lookahead_tokens;
|
||||
/* Sorted ascendingly on rule number. */
|
||||
rule *rules[1];
|
||||
} reductions;
|
||||
|
||||
@@ -210,8 +211,8 @@ struct state
|
||||
a human readable description of the resolution. */
|
||||
const char *solved_conflicts;
|
||||
|
||||
/* Its items. Must be last, since ITEMS can be arbitrarily large.
|
||||
*/
|
||||
/* Its items. Must be last, since ITEMS can be arbitrarily large. Sorted
|
||||
ascendingly on item index in RITEM, which is sorted on rule number. */
|
||||
size_t nitems;
|
||||
item_number items[1];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user