* 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:
Joel E. Denny
2007-07-10 02:57:31 +00:00
parent ce3448d5b9
commit 6ce2d93a9b
4 changed files with 15 additions and 6 deletions

View File

@@ -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];
};