mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
java: fix names
* data/skeletons/lalr1.java (yySymbolPrint): There are no pointers here, remove the `p` suffix. Use the appropriate type for locations.
This commit is contained in:
@@ -502,14 +502,14 @@ import java.text.MessageFormat;
|
|||||||
| Print this symbol on YYOUTPUT. |
|
| Print this symbol on YYOUTPUT. |
|
||||||
`--------------------------------*/
|
`--------------------------------*/
|
||||||
|
|
||||||
private void yySymbolPrint (String s, SymbolKind yykind,
|
private void yySymbolPrint(String s, SymbolKind yykind,
|
||||||
]b4_yystype[ yyvaluep]dnl
|
]b4_yystype[ yyvalue]b4_locations_if([, ]b4_location_type[ yylocation])[)
|
||||||
b4_locations_if([, Object yylocationp])[)
|
|
||||||
{
|
{
|
||||||
yycdebug (s + (yykind.getCode () < YYNTOKENS_ ? " token " : " nterm ")
|
yycdebug (s
|
||||||
|
+ (yykind.getCode() < YYNTOKENS_ ? " token " : " nterm ")
|
||||||
+ yykind.getName() + " ("]b4_locations_if([
|
+ yykind.getName() + " ("]b4_locations_if([
|
||||||
+ yylocationp + ": "])[
|
+ yylocation + ": "])[
|
||||||
+ (yyvaluep == null ? "(null)" : yyvaluep.toString ()) + ")");
|
+ (yyvalue == null ? "(null)" : yyvalue.toString()) + ")");
|
||||||
}]])[
|
}]])[
|
||||||
|
|
||||||
]b4_push_if([],[[
|
]b4_push_if([],[[
|
||||||
|
|||||||
Reference in New Issue
Block a user