Skip to content

Commit

Permalink
Fix ValueAssignment grammar production (#1789)
Browse files Browse the repository at this point in the history
https://github.com/awslabs/smithy/pull/1782/files clobbered changes
in #1783, which this commit
fixes.
  • Loading branch information
milesziemer authored May 24, 2023
1 parent 92bd7b2 commit a1af91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source-2.0/spec/idl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ string support defined in :rfc:`7405`.
EnumStatement :`EnumTypeName` `SP` `Identifier` [`Mixins`] [`WS`] `EnumShapeMembers`
EnumTypeName :%s"enum" / %s"intEnum"
EnumShapeMembers :"{" [`WS`] 1*(`TraitStatements` `Identifier` [`ValueAssignment`] [`WS`]) "}"
ValueAssignment :[`SP`] "=" [`SP`] `NodeValue` `BR`
ValueAssignment :[`SP`] "=" [`SP`] `NodeValue` [`SP`] [`Comma`] `BR`
AggregateShapeStatement :`AggregateTypeName` `SP` `Identifier` [`Mixins`] `ShapeMembers`
AggregateTypeName :%s"list" / %s"map" / %s"union"
StructureStatement :%s"structure" `SP` `Identifier` [`StructureResource`]
Expand Down

0 comments on commit a1af91e

Please sign in to comment.