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

Syntax: allow trailing delimiters #47

Open
gasche opened this issue Feb 8, 2017 · 0 comments
Open

Syntax: allow trailing delimiters #47

gasche opened this issue Feb 8, 2017 · 0 comments

Comments

@gasche
Copy link
Collaborator

gasche commented Feb 8, 2017

In #46, @o- wrote:

the best solution imho would be to allow [mut x,] (ie. trailing comma).

In general allowing for trailing delimiters is good style. We have to massage the grammar a bit to do this, to avoid conflicts. (Typically separated_list(elem, sep) option(sep) creates conflicts.)

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