We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
self.from = None
Please include the following information
python3 antlr4 version is 4.9.3
import sys import antlr4 from PrestoSqlLexer import PrestoSqlLexer from PrestoSqlParser import PrestoSqlParser def main(): input_stream = antlr4.CharStream('select 1') lexer = PrestoSqlLexer(input_stream) tokens = antlr4.CommonTokenStream(lexer) tokens.fill() print([token.text for token in tokens.tokens][:-1]) if __name__ == '__main__': main()
error:
Traceback (most recent call last): File "/Users/clients/autocomplete/parseQuery.py", line 4, in <module> from PrestoSqlParser import PrestoSqlParser File "/Users/clients/autocomplete/PrestoSqlParser.py", line 1837 self.from = None # QualifiedNameContext ^^^^ SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
looks like you are using a reserved keyword in you grammar rules ?
Sorry, something went wrong.
I changed to 4.11.1 and the errors gone...
Please close ?
No branches or pull requests
Please include the following information
python3 antlr4 version is 4.9.3
Pointers to suspicious code regions are also very welcome.
error:
The text was updated successfully, but these errors were encountered: