Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Field specifier list may have a trailing comma #86

Open
ericlippert opened this issue Dec 14, 2016 · 0 comments
Open

Field specifier list may have a trailing comma #86

ericlippert opened this issue Dec 14, 2016 · 0 comments

Comments

@ericlippert
Copy link
Contributor

In the type chapter, the grammar for field specifiers of shape types is:

shape-specifier:
  shape ( field-specifier-list-opt )
field-specifier-list:
  field-specifier
  field-specifier-list  ,  field-specifier

But this is allowed to have a trailing comma. Probably the grammar should be something like:

shape-specifier:
  shape ( field-specifier-list-opt )
field-specifier-list:
  field-specifiers  ,-opt
field-specifiers:
  field-specifier
  field-specifiers  ,  field-specifier
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant