java: lac: a stronger test for the exploratory stack

* tests/local.at (AT_YYLEX_DEFINE(java)): Fix overquoting issue.
Style changes.
* tests/regression.at (LAC: Exploratory stack): Run for lalr1.java too.
This commit is contained in:
Akim Demaille
2020-11-06 07:19:47 +01:00
parent fa8aca1ed4
commit d49da0101a
4 changed files with 35 additions and 18 deletions

View File

@@ -440,7 +440,7 @@ AT_DATA_GRAMMAR([input.y],
]$2[
]AT_JAVA_IF([[%code lexer {
]AT_YYLEX_DEFINE([$3], [[return new Integer(1)]])[
]AT_YYLEX_DEFINE(["$3"], [[return new Integer(1)]])[
]AT_YYERROR_DEFINE[
};
%%