Skip to content
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

Weird syntax in the recRuleSetReturnAction template #32

Closed
willfaught opened this issue Jun 14, 2016 · 1 comment
Closed

Weird syntax in the recRuleSetReturnAction template #32

willfaught opened this issue Jun 14, 2016 · 1 comment

Comments

@willfaught
Copy link
Collaborator

https://github.com/pboyer/antlr4/blob/master/tool/resources/org/antlr/v4/tool/templates/codegen/Go/Go.stg#L1279

What is this doing? It looks like it results in something like $x = $y.$x, which is invalid Go syntax.

@willfaught
Copy link
Collaborator Author

Is this code that's inlined in the grammar productions?

millergarym pushed a commit to millergarym/antlr4 that referenced this issue Nov 16, 2016
Leave spaces alone unless escaped spaces requested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant