InternalQueryParser.java and InternalQueryLexer.java files #41
-
Finally resolved almost all the errors in the project except the InternalQueryParser.java file. It throws Syntax error on tokens, ConstructorHeaderName expected instead on Line 6709, and the token is the same as that on line 6707 Then in the InternalQueryLexer.java file, there is a Duplicate of the @SuppressWarning("all") annotation on Line 14. I had to comment that out. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Those files are generated. You should not need to modify them. Any modifications you make will be lost the next time you Generate XText Artifacts. You should not need to manually edit any files. First thing you should do: Project -> Clean any time you have compile errors. This will recompile everything. This is just to make sure any errors you see aren't residual. If errors remain in the InternalQueryParser.java / InternalQueryLexer.java files, then you should open If that doesn't clean up the errors, then describe every change you've made that is not described in the instructions I've previously given. And do this: Open a Terminal / Command Prompt window. CD into the |
Beta Was this translation helpful? Give feedback.
-
patch.diff file attached |
Beta Was this translation helpful? Give feedback.
Those files are generated. You should not need to modify them. Any modifications you make will be lost the next time you Generate XText Artifacts.
You should not need to manually edit any files.
First thing you should do: Project -> Clean any time you have compile errors. This will recompile everything. This is just to make sure any errors you see aren't residual.
If errors remain in the InternalQueryParser.java / InternalQueryLexer.java files, then you should open
Query.xtext
and Generate -> XText Artifacts to regenerate those files.If that doesn't clean up the errors, then describe every change you've made that is not described in the instructions I've previously given. And do this: Op…