Fix test compile error by avoiding string literal assignments for the large lexer test

This commit is contained in:
Sam Harwell 2014-09-25 12:52:58 -05:00 committed by Sam Harwell
parent d476d3e5d9
commit 0be4a3aaeb
1 changed files with 1 additions and 1 deletions

View File

@ -647,7 +647,7 @@ public class TestLexerExec extends BaseTest {
grammar.append("lexer grammar L;\n");
grammar.append("WS : [ \\t\\r\\n]+ -> skip;\n");
for (int i = 0; i < 4000; i++) {
grammar.append("KW").append(i).append(" : '").append("KW").append(i).append("';\n");
grammar.append("KW").append(i).append(" : 'KW' '").append(i).append("';\n");
}
String input = "KW400";