Skip to content

Commit 09d5e2b

Browse files
milesziemerSteven Yuan
authored and
Steven Yuan
committed
Fix ValueAssignment grammar production (smithy-lang#1789)
https://github.com/awslabs/smithy/pull/1782/files clobbered changes in smithy-lang#1783, which this commit fixes.
1 parent 3c595cd commit 09d5e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source-2.0/spec/idl.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ string support defined in :rfc:`7405`.
190190
EnumStatement :`EnumTypeName` `SP` `Identifier` [`Mixins`] [`WS`] `EnumShapeMembers`
191191
EnumTypeName :%s"enum" / %s"intEnum"
192192
EnumShapeMembers :"{" [`WS`] 1*(`TraitStatements` `Identifier` [`ValueAssignment`] [`WS`]) "}"
193-
ValueAssignment :[`SP`] "=" [`SP`] `NodeValue` `BR`
193+
ValueAssignment :[`SP`] "=" [`SP`] `NodeValue` [`SP`] [`Comma`] `BR`
194194
AggregateShapeStatement :`AggregateTypeName` `SP` `Identifier` [`Mixins`] `ShapeMembers`
195195
AggregateTypeName :%s"list" / %s"map" / %s"union"
196196
StructureStatement :%s"structure" `SP` `Identifier` [`StructureResource`]

0 commit comments

Comments
 (0)