Improve some comments in parser table construction.

* src/LR0.c (new_itemsets): Explain sorting of itemset and kernel_base.
(generate_states): Don't mention ruleset, which is internal to closure.
* src/closure.c (closure): Explain sorting of core and itemset, which
is required for this function to behave correctly.
* src/closure.h (closure): Mention sorting.
This commit is contained in:
Joel E. Denny
2007-05-29 04:24:17 +00:00
parent b1a8161341
commit 71b61d4db5
4 changed files with 17 additions and 6 deletions

View File

@@ -6,6 +6,13 @@
Again, it's not used yet, but it will be.
* src/muscle_tab.h: Likewise.
Improve some comments in parser table construction.
* src/LR0.c (new_itemsets): Explain sorting of itemset and kernel_base.
(generate_states): Don't mention ruleset, which is internal to closure.
* src/closure.c (closure): Explain sorting of core and itemset, which
is required for this function to behave correctly.
* src/closure.h (closure): Mention sorting.
2007-05-28 Joel E. Denny <jdenny@ces.clemson.edu>
* src/lalr.c (state_lookahead_tokens_count): For code readability,