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

support for <expr> by <expr> loops #837

Merged
merged 2 commits into from
Feb 2, 2016
Merged

Conversation

rhendric
Copy link
Collaborator

@rhendric rhendric commented Feb 1, 2016

It was already in the grammar, but the lexer was written such that it could never happen.

As a special case, for by in foo still treats by as an identifier rather than a keyword.

@vendethiel
Copy link
Contributor

Can you please add a test with said special case? I'll merge it after that :)

@rhendric
Copy link
Collaborator Author

rhendric commented Feb 2, 2016

It already exists! test/loop.ls, line 168

@vendethiel
Copy link
Contributor

Ah ok, you merely added it for that.

vendethiel added a commit that referenced this pull request Feb 2, 2016
support for <expr> by <expr> loops
@vendethiel vendethiel merged commit 49416ac into gkz:master Feb 2, 2016
@vendethiel
Copy link
Contributor

Thanks again!

This was referenced Jan 11, 2018
@rhendric rhendric deleted the for-by branch May 4, 2023 20:17
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

Successfully merging this pull request may close these issues.

2 participants