> Le 23 oct. 2019 à 01:17, kaneko y <[email protected]> a écrit :
> 
> Just update old comment.

Thanks!  Installed as follows.  Cheers!

commit 3945beb1d2abd171c4d813b7b55228c31681b4c3
Author: Yuichiro Kaneko <[email protected]>
Date:   Wed Oct 23 08:30:15 2019 +0200

    style: update comment in reader.c
    
    rrhs and rlhs were removed by b2ed6e5826e772162719db595446b2c58e4ac5d6.
    
    * src/reader.c (packgram): Update comment.

diff --git a/THANKS b/THANKS
index c29797e9..2f348b84 100644
--- a/THANKS
+++ b/THANKS
@@ -202,6 +202,7 @@ Wolfgang Thaller          [email protected]
 Wolfram Wagner            [email protected]
 Wwp                       [email protected]
 xolodho                   [email protected]
+Yuichiro Kaneko           [email protected]
 Zack Weinberg             [email protected]
 長田偉伸                   [email protected]
 江 祖铭                    [email protected]
diff --git a/TODO b/TODO
index d2c56b73..915071c1 100644
--- a/TODO
+++ b/TODO
@@ -105,6 +105,10 @@ Rename these guys as "diagnostics.*" (or "diagnose.*"), 
since that's the
 name they have in gcc, clang, etc.  Likewise for the complain_* series of
 functions.
 
+*** ritem
+states/nstates, rules/nrules, ..., ritem/nritems
+Fix the latter.
+
 * Modernization
 Fix data/skeletons/yacc.c so that it defines YYPTRDIFF_T properly for modern
 and older C++ compilers.  Currently the code defaults to defining it to
diff --git a/src/reader.c b/src/reader.c
index fb8a19d6..a247d07b 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -605,10 +605,9 @@ grammar_current_rule_expect_rr (int count, location loc)
 }
 
 
-/*---------------------------------------------------------------.
-| Convert the rules into the representation using RRHS, RLHS and |
-| RITEM.                                                         |
-`---------------------------------------------------------------*/
+/*---------------------------------------------.
+| Build RULES and RITEM from what was parsed.  |
+`---------------------------------------------*/
 
 static void
 packgram (void)




Reply via email to