-
Notifications
You must be signed in to change notification settings - Fork 3.3k
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
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
JavaScript target can't use wildcards #1213
Comments
Hi, |
Hi, |
|
As a workaround, you can use the following "action" before the use of the dot:
But a fix in the Javascript generator would be better, of course... |
Thanks for the tip. Since this is an old problem and I could not wait for the new antlr release with the fix, I did my work around (added "this.") and it is working fine so far. |
The JavaScript target compiles
.
tomatchWildcard()
instead ofthis.matchWildcard()
, which raises an error. Manually changing tothis.matchWildcard()
in the generated source seems to fix the problem.The text was updated successfully, but these errors were encountered: