Skip to content

Commit

Permalink
Fix ValueAssignment grammar production
Browse files Browse the repository at this point in the history
https://github.com/awslabs/smithy/pull/1782/files clobbered changes
in smithy-lang#1783, which this commit
fixes.
  • Loading branch information
milesziemer committed May 24, 2023
1 parent 9bc93d1 commit f6cee87
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 f6cee87

Please sign in to comment.