fix a typo of case sensitivity
This commit is contained in:
parent
fde0b28dfb
commit
3074c7f10f
|
@ -36,7 +36,7 @@ using Antlr4.Runtime.Tree;
|
|||
|
||||
public void MyParseMethod() {
|
||||
String input = "your text to parse here";
|
||||
ICharStream stream = CharStreams.fromstring(input);
|
||||
ICharStream stream = CharStreams.fromString(input);
|
||||
ITokenSource lexer = new MyGrammarLexer(stream);
|
||||
ITokenStream tokens = new CommonTokenStream(lexer);
|
||||
MyGrammarParser parser = new MyGrammarParser(tokens);
|
||||
|
|
Loading…
Reference in New Issue