Skip to content

Update identifier ABNF and parser#1464

Merged
syall merged 1 commit intosmithy-lang:mainfrom
syall:identifier-abnf-update
Oct 24, 2022
Merged

Update identifier ABNF and parser#1464
syall merged 1 commit intosmithy-lang:mainfrom
syall:identifier-abnf-update

Conversation

@syall
Copy link
Copy Markdown
Contributor

@syall syall commented Oct 24, 2022

Issue #, if available:

N/A


Description of changes:

Previously, the ABNF did not match the identifier parser.

This commit updates the ABNF to match current parsing behavior, and updates the identifier parser to avoid out of bounds exceptions.

Also, a set of tests are added for ONLY parsing identifiers rather than being mixed with namespace tests.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@syall syall requested a review from a team as a code owner October 24, 2022 18:55
Previously, the ABNF did not match the identifier parser.

This commit updates the ABNF to match current parsing behavior, and
updates the identifier parser to avoid out of bounds exceptions.

Also, a set of tests are added for ONLY parsing identifiers rather
than being mixed with namespace tests.
@syall syall force-pushed the identifier-abnf-update branch from 4ae41af to 843fe69 Compare October 24, 2022 20:31
@syall syall requested a review from mtdowling October 24, 2022 20:44
@syall syall merged commit d1a8f39 into smithy-lang:main Oct 24, 2022
@syall syall deleted the identifier-abnf-update branch March 2, 2023 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants