forked from smithy-lang/smithy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix grammar issues, add Comma production
Replaced "EnumShapeStatement" rule with "EnumStatement" because other shape statements don't include the word "Shape". Renamed "NodeKeywords" to "NodeKeyword" since grammar rules aren't generally plural like this. Added "Comma" production, which is now used in WS and can be optionally used after defining an enum member. Members that support value assignment can now have a trailing comma. Fixed WS loop handling for several productions. Fixed OperationErrors to actually support a list of ShapeId, rather than just a list of Identifier. Identifier implies that you can only use errors in the local namespace which isn't the case.
- Loading branch information
Showing
2 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters