mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +00:00
style: comment changes
* src/lr0.c: here.
This commit is contained in:
26
src/lr0.c
26
src/lr0.c
@@ -185,19 +185,19 @@ free_storage (void)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------.
|
/*------------------------------------------------------------------.
|
||||||
| Find which symbols can be shifted in S, and for each one record |
|
| Find which term/nterm symbols can be "shifted" in S, and for each |
|
||||||
| which items would be active after that shift. Uses the contents |
|
| one record which items would be active after that transition. |
|
||||||
| of itemset. |
|
| Uses the contents of itemset. |
|
||||||
| |
|
| |
|
||||||
| shift_symbol is a bitset of the symbols that can be shifted. For |
|
| shift_symbol is a bitset of the term/nterm symbols that can be |
|
||||||
| each symbol in the grammar, kernel_base[symbol] points to a vector |
|
| shifted. For each symbol in the grammar, kernel_base[symbol] |
|
||||||
| of item numbers activated if that symbol is shifted, and |
|
| points to a vector of item numbers activated if that symbol is |
|
||||||
| kernel_size[symbol] is their numbers. |
|
| shifted, and kernel_size[symbol] is their numbers. |
|
||||||
| |
|
| |
|
||||||
| itemset is sorted on item index in ritem, which is sorted on rule |
|
| itemset is sorted on item index in ritem, which is sorted on rule |
|
||||||
| number. Compute each kernel_base[symbol] with the same sort. |
|
| number. Compute each kernel_base[symbol] with the same sort. |
|
||||||
`-------------------------------------------------------------------*/
|
`------------------------------------------------------------------*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
new_itemsets (state *s)
|
new_itemsets (state *s)
|
||||||
|
|||||||
Reference in New Issue
Block a user