You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated parsers are different. The version generated with the script has no compile errors, the other one has errors. The errors actually stem from the differences: The version generated by the extension sets some (unknown) exception properties, e.g.
Versions.
I have defined a grammar (the expression example from https://github.com/mike-lischke/antlr4ng) and let the extension generate the code.
Here is my
.vscode/settings.json
:I also have generated the code via antlr4ng-cli, i.e.
The generated parsers are different. The version generated with the script has no compile errors, the other one has errors. The errors actually stem from the differences: The version generated by the extension sets some (unknown) exception properties, e.g.
catch (re) { if (re instanceof antlr.RecognitionException) { + localContext.exception = re; this.errorHandler.reportError(this, re); this.errorHandler.recover(this, re); } else { throw re; } }
The text was updated successfully, but these errors were encountered: