diff --git a/contributors.txt b/contributors.txt index 22d551a50..54ff875dc 100644 --- a/contributors.txt +++ b/contributors.txt @@ -214,3 +214,4 @@ YYYY/MM/DD, github id, Full name, email 2018/12/23, youkaichao, Kaichao You, youkaichao@gmail.com 2019/02/06, ralucado, Cristina Raluca Vijulie, ralucris.v[at]gmail[dot]com 2019/03/13, base698, Justin Thomas, justin.thomas1@gmail.com +2019/03/18, carlodri, Carlo Dri, carlo.dri@gmail.com diff --git a/doc/python-target.md b/doc/python-target.md index e3bd883f2..7ed73c281 100644 --- a/doc/python-target.md +++ b/doc/python-target.md @@ -50,8 +50,8 @@ from MyGrammarLexer import MyGrammarLexer from MyGrammarParser import MyGrammarParser def main(argv): - input = FileStream(argv[1]) - lexer = MyGrammarLexer(input) + input_stream = FileStream(argv[1]) + lexer = MyGrammarLexer(input_stream) stream = CommonTokenStream(lexer) parser = MyGrammarParser(stream) tree = parser.startRule()