mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
skeletons: use consistently "kind" instead of "type" in the code
* data/skeletons/bison.m4, data/skeletons/c++.m4, data/skeletons/c.m4, * data/skeletons/glr.cc, data/skeletons/lalr1.cc, * data/skeletons/lalr1.d, data/skeletons/lalr1.java: Refer to the "kind" of a symbol, not its "type", where appropriate.
This commit is contained in:
@@ -499,12 +499,12 @@ import java.text.MessageFormat;
|
||||
| Print this symbol on YYOUTPUT. |
|
||||
`--------------------------------*/
|
||||
|
||||
private void yySymbolPrint (String s, SymbolKind yytype,
|
||||
private void yySymbolPrint (String s, SymbolKind yykind,
|
||||
]b4_yystype[ yyvaluep]dnl
|
||||
b4_locations_if([, Object yylocationp])[)
|
||||
{
|
||||
yycdebug (s + (yytype.getCode () < yyntokens_ ? " token " : " nterm ")
|
||||
+ yysymbolName (yytype) + " ("]b4_locations_if([
|
||||
yycdebug (s + (yykind.getCode () < yyntokens_ ? " token " : " nterm ")
|
||||
+ yysymbolName (yykind) + " ("]b4_locations_if([
|
||||
+ yylocationp + ": "])[
|
||||
+ (yyvaluep == null ? "(null)" : yyvaluep.toString ()) + ")");
|
||||
}]])[
|
||||
|
||||
Reference in New Issue
Block a user