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

Fix handling of vararg functions #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

n1tehawk
Copy link

No description provided.

This is useful if an alternative token needs to be handled. For
example: When parsing argument lists for function declarations,
expect() may either accept an identifier or a "..." symbol.
The symbol would still get treated as an identifier (and thus
substituted) otherwise.
@n1tehawk
Copy link
Author

Unit testing showed that the handling of ... was still wrong for function literals. I'll add another commit that addresses this.

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.

1 participant