summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2020-04-05 11:14:11 +0200
committerAkim Demaille <akim.demaille@gmail.com>2020-04-05 14:56:19 +0200
commitff2fc621387548fbfe24f2d6a20c06df249b1466 (patch)
tree5078da98740b1c378dbab4e96edc2ac0bad79f1a /tests
parent2c05fc750a3f56d24d7ac3b856b1d97b77d2b960 (diff)
downloadbison-ff2fc621387548fbfe24f2d6a20c06df249b1466.tar.gz
d, java: rename SymbolType as SymbolKind
See https://lists.gnu.org/r/bison-patches/2020-04/msg00031.html. * data/skeletons/d.m4, data/skeletons/lalr1.d, * data/skeletons/java.m4, data/skeletons/lalr1.java (SymbolType): Rename as... (SymbolKind): this. Adjust dependencies.
Diffstat (limited to 'tests')
-rw-r--r--tests/local.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/local.at b/tests/local.at
index 7f92f1bd..92e616c4 100644
--- a/tests/local.at
+++ b/tests/local.at
@@ -981,12 +981,12 @@ m4_define([AT_YYERROR_DEFINE(java)],
System.err.print (]AT_LOCATION_IF([[ctx.getLocation () + ": "]]
+ )["syntax error");
{
- Calc.SymbolType token = ctx.getToken ();
- if (token != Calc.SymbolType.YYSYMBOL_YYEMPTY)
+ Calc.SymbolKind token = ctx.getToken ();
+ if (token != Calc.SymbolKind.YYSYMBOL_YYEMPTY)
System.err.print (" on token @<:@" + ctx.yysymbolName (token) + "@:>@");
}
{
- Calc.SymbolType[] arg = new Calc.SymbolType[ctx.NTOKENS];
+ Calc.SymbolKind[] arg = new Calc.SymbolKind[ctx.NTOKENS];
int n = ctx.yyexpectedTokens (arg, ctx.NTOKENS);
if (0 < n)
{