From 8cedb4b40e04701d5b0000a6b89e439544695369 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 13 Apr 2020 17:04:34 +0200 Subject: [PATCH] java: fix names * data/skeletons/lalr1.java (yySymbolPrint): There are no pointers here, remove the `p` suffix. Use the appropriate type for locations. --- data/skeletons/lalr1.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/skeletons/lalr1.java b/data/skeletons/lalr1.java index 813c7757..57a175c3 100644 --- a/data/skeletons/lalr1.java +++ b/data/skeletons/lalr1.java @@ -502,14 +502,14 @@ import java.text.MessageFormat; | Print this symbol on YYOUTPUT. | `--------------------------------*/ - private void yySymbolPrint (String s, SymbolKind yykind, - ]b4_yystype[ yyvaluep]dnl - b4_locations_if([, Object yylocationp])[) + private void yySymbolPrint(String s, SymbolKind yykind, + ]b4_yystype[ yyvalue]b4_locations_if([, ]b4_location_type[ yylocation])[) { - yycdebug (s + (yykind.getCode () < YYNTOKENS_ ? " token " : " nterm ") + yycdebug (s + + (yykind.getCode() < YYNTOKENS_ ? " token " : " nterm ") + yykind.getName() + " ("]b4_locations_if([ - + yylocationp + ": "])[ - + (yyvaluep == null ? "(null)" : yyvaluep.toString ()) + ")"); + + yylocation + ": "])[ + + (yyvalue == null ? "(null)" : yyvalue.toString()) + ")"); }]])[ ]b4_push_if([],[[