Skip to content

Commit

Permalink
Add grammar changes for enum attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
skl131313 committed Jan 2, 2018
1 parent 8de20ad commit b59038f
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion DIPs/dip10ss.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,29 @@ The concept known as "orthogonality of language features" applies here. Attribut

## Description

TBD
Grammar changes for [Enum](https://dlang.org/spec/enum.html):

```
EnumMember:
Identifier
Identifier = AssignExpression
// becomes -------------------------------------------
EnumAttribute:
DeprecatedAttribute
UserDefinedAttribute
EnumAttributes:
EnumAttribute
EnumAttiribute EnumAttributes
EnumMember:
Identifier
Identifier = AssignExpression
EnumAttributes Identifier
EnumAttributes Identifier = AssignExpression
```

## Existing Solutions

Expand Down

0 comments on commit b59038f

Please sign in to comment.