From 3074c7f10fcfca93eae0cf3fbaa5ec6440f34413 Mon Sep 17 00:00:00 2001 From: Xingyu Xie Date: Sun, 21 Feb 2021 03:05:09 +0800 Subject: [PATCH] fix a typo of case sensitivity --- doc/csharp-target.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/csharp-target.md b/doc/csharp-target.md index e2551aa7a..02a56b69c 100644 --- a/doc/csharp-target.md +++ b/doc/csharp-target.md @@ -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);