From f6cee870a39f251d2a73895ece989630a4a6dcb7 Mon Sep 17 00:00:00 2001 From: Miles Ziemer Date: Wed, 24 May 2023 16:36:30 -0400 Subject: [PATCH] Fix ValueAssignment grammar production https://github.com/awslabs/smithy/pull/1782/files clobbered changes in https://github.com/awslabs/smithy/pull/1783, which this commit fixes. --- docs/source-2.0/spec/idl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-2.0/spec/idl.rst b/docs/source-2.0/spec/idl.rst index cdc4f72011d..4fa37771064 100644 --- a/docs/source-2.0/spec/idl.rst +++ b/docs/source-2.0/spec/idl.rst @@ -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`]