parse text in upper case
This commit is contained in:
parent
c1a7ad48b2
commit
fcc44e6f49
|
@ -58,6 +58,7 @@ walker = ParseTreeWalker()
|
||||||
|
|
||||||
|
|
||||||
def comment(text):
|
def comment(text):
|
||||||
|
text = text.upper()
|
||||||
input_stream = InputStream(text)
|
input_stream = InputStream(text)
|
||||||
lexer = CommentMacroLexer(input_stream)
|
lexer = CommentMacroLexer(input_stream)
|
||||||
stream = CommonTokenStream(lexer)
|
stream = CommonTokenStream(lexer)
|
||||||
|
|
Loading…
Reference in New Issue