Wrong load call fixed.
This commit is contained in:
parent
93c06214a6
commit
f881e3ec3f
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue