Wrong load call fixed.

This commit is contained in:
Mike Lischke 2021-03-09 11:04:04 +01:00
parent 93c06214a6
commit f881e3ec3f
1 changed files with 2 additions and 2 deletions

View File

@ -395,7 +395,7 @@ public class BaseCppTest extends BaseRuntimeTestSupport implements RuntimeTestSu
+ "\n"
+ "int main(int argc, const char* argv[]) {\n"
+ " ANTLRFileStream input;\n"
+ " input.loadFile(argv[1]);\n"
+ " input.loadFromFile(argv[1]);\n"
+ " <lexerName> lexer(&input);\n"
+ " CommonTokenStream tokens(&lexer);\n"
+ "<createParser>"
@ -438,7 +438,7 @@ public class BaseCppTest extends BaseRuntimeTestSupport implements RuntimeTestSu
+ "\n"
+ "int main(int argc, const char* argv[]) {\n"
+ " ANTLRFileStream input;\n"
+ " input.loadFile(argv[1]);\n"
+ " input.loadFromFile(argv[1]);\n"
+ " <lexerName> lexer(&input);\n"
+ " CommonTokenStream tokens(&lexer);\n"
+ " tokens.fill();\n"