From 2ff746493e5d8ffd2d33f8a0fb055a753fe13528 Mon Sep 17 00:00:00 2001 From: "Erik A. Brandstadmoen" Date: Sun, 11 Jun 2017 23:58:01 +0200 Subject: [PATCH] Charstreams.fromString -> Charstreams.fromstring --- 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 90b4a63f6..9158b0211 100644 --- a/doc/csharp-target.md +++ b/doc/csharp-target.md @@ -35,7 +35,7 @@ using Antlr4.Runtime; 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);