Skip to content

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