* 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

@@ -213,7 +213,7 @@ closure (item_number *core, size_t n)
if (ISVAR (ritem[core[c]]))
bitset_or (ruleset, ruleset, FDERIVES (ritem[core[c]]));
/* core is sorted on item number from ritem, which is sorted on rule number.
/* core is sorted on item index in ritem, which is sorted on rule number.
Compute itemset with the same sort. */
nitemset = 0;
c = 0;