From 3945beb1d2abd171c4d813b7b55228c31681b4c3 Mon Sep 17 00:00:00 2001 From: Yuichiro Kaneko Date: Wed, 23 Oct 2019 08:30:15 +0200 Subject: [PATCH] style: update comment in reader.c rrhs and rlhs were removed by b2ed6e5826e772162719db595446b2c58e4ac5d6. * src/reader.c (packgram): Update comment. --- THANKS | 1 + TODO | 4 ++++ src/reader.c | 7 +++---- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/THANKS b/THANKS index c29797e9..2f348b84 100644 --- a/THANKS +++ b/THANKS @@ -202,6 +202,7 @@ Wolfgang Thaller wolfgang.thaller@gmx.net Wolfram Wagner ww@mpi-sb.mpg.de Wwp subscript@free.fr xolodho xolodho@gmail.com +Yuichiro Kaneko spiketeika@gmail.com Zack Weinberg zack@codesourcery.com 長田偉伸 cbh34680@iret.co.jp 江 祖铭 jjzuming@outlook.com 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)