bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

style: comment changes


From: Akim Demaille
Subject: style: comment changes
Date: Fri, 1 Mar 2019 18:35:24 +0100

commit 5255b919ae559166e00daf422ce3096cbacf5070
Author: Akim Demaille <address@hidden>
Date:   Mon Feb 25 08:06:09 2019 +0100

    style: comment changes
    
    * src/lr0.c: here.

diff --git a/src/lr0.c b/src/lr0.c
index b41cc46e..8d6a824b 100644
--- a/src/lr0.c
+++ b/src/lr0.c
@@ -185,19 +185,19 @@ free_storage (void)
 
 
 
-/*-------------------------------------------------------------------.
-| Find which symbols can be shifted in S, and for each one record    |
-| which items would be active after that shift.  Uses the contents   |
-| of itemset.                                                        |
-|                                                                    |
-| shift_symbol is a bitset of the symbols that can be shifted.  For  |
-| each symbol in the grammar, kernel_base[symbol] points to a vector |
-| of item numbers activated if that symbol is shifted, and           |
-| kernel_size[symbol] is their numbers.                              |
-|                                                                    |
-| itemset is sorted on item index in ritem, which is sorted on rule  |
-| number.  Compute each kernel_base[symbol] with the same sort.      |
-`-------------------------------------------------------------------*/
+/*------------------------------------------------------------------.
+| Find which term/nterm symbols can be "shifted" in S, and for each |
+| one record which items would be active after that transition.     |
+| Uses the contents of itemset.                                     |
+|                                                                   |
+| shift_symbol is a bitset of the term/nterm symbols that can be    |
+| shifted.  For each symbol in the grammar, kernel_base[symbol]     |
+| points to a vector of item numbers activated if that symbol is    |
+| shifted, and kernel_size[symbol] is their numbers.                |
+|                                                                   |
+| itemset is sorted on item index in ritem, which is sorted on rule |
+| number.  Compute each kernel_base[symbol] with the same sort.     |
+`------------------------------------------------------------------*/
 
 static void
 new_itemsets (state *s)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]