diff --git a/contributors.txt b/contributors.txt index ccc915883..e81b283f9 100644 --- a/contributors.txt +++ b/contributors.txt @@ -76,3 +76,4 @@ YYYY/MM/DD, github id, Full name, email 2015/05/27, jcbrinfo, Jean-Christophe Beaupré, jcbrinfo@users.noreply.github.com 2015/06/29, jvanzyl, Jason van Zyl, jason@takari.io 2015/08/18, krzkaczor, Krzysztof Kaczor, krzysztof@kaczor.io +2015/09/18, worsht, Rajiv Subrahmanyam, rajiv.public@gmail.com diff --git a/runtime/Python2/src/antlr4/Lexer.py b/runtime/Python2/src/antlr4/Lexer.py index 2dedb54f6..c0fe4eb15 100644 --- a/runtime/Python2/src/antlr4/Lexer.py +++ b/runtime/Python2/src/antlr4/Lexer.py @@ -320,7 +320,7 @@ class Lexer(Recognizer, TokenSource): elif c=='\r': return "\\r" else: - return str(c) + return unicode(c) def getCharErrorDisplay(self, c): return "'" + self.getErrorDisplayForChar(c) + "'"