bison-patches
[Top][All Lists]
Advanced

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

Re: [patch] reader.c: Update comment


From: Akim Demaille
Subject: Re: [patch] reader.c: Update comment
Date: Wed, 23 Oct 2019 08:33:43 +0200


> Le 23 oct. 2019 à 01:17, kaneko y <address@hidden> a écrit :
> 
> Just update old comment.

Thanks!  Installed as follows.  Cheers!

commit 3945beb1d2abd171c4d813b7b55228c31681b4c3
Author: Yuichiro Kaneko <address@hidden>
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          address@hidden
 Wolfram Wagner            address@hidden
 Wwp                       address@hidden
 xolodho                   address@hidden
+Yuichiro Kaneko           address@hidden
 Zack Weinberg             address@hidden
 長田偉伸                   address@hidden
 江 祖铭                    address@hidden
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

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