style: update comment in reader.c

rrhs and rlhs were removed by b2ed6e5826.

* src/reader.c (packgram): Update comment.
This commit is contained in:
Yuichiro Kaneko
2019-10-23 08:32:06 +02:00
committed by Akim Demaille
parent c86b7815fc
commit 3945beb1d2
3 changed files with 8 additions and 4 deletions
+1
View File
@@ -202,6 +202,7 @@ Wolfgang Thaller [email protected]
Wolfram Wagner [email protected] Wolfram Wagner [email protected]
Wwp [email protected] Wwp [email protected]
xolodho [email protected] xolodho [email protected]
Yuichiro Kaneko [email protected]
Zack Weinberg [email protected] Zack Weinberg [email protected]
長田偉伸 [email protected] 長田偉伸 [email protected]
江 祖铭 [email protected] 江 祖铭 [email protected]
+4
View File
@@ -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 name they have in gcc, clang, etc. Likewise for the complain_* series of
functions. functions.
*** ritem
states/nstates, rules/nrules, ..., ritem/nritems
Fix the latter.
* Modernization * Modernization
Fix data/skeletons/yacc.c so that it defines YYPTRDIFF_T properly for modern 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 and older C++ compilers. Currently the code defaults to defining it to
+3 -4
View File
@@ -605,10 +605,9 @@ grammar_current_rule_expect_rr (int count, location loc)
} }
/*---------------------------------------------------------------. /*---------------------------------------------.
| Convert the rules into the representation using RRHS, RLHS and | | Build RULES and RITEM from what was parsed. |
| RITEM. | `---------------------------------------------*/
`---------------------------------------------------------------*/
static void static void
packgram (void) packgram (void)