Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update identifier ABNF and parser #1464

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

syall
Copy link
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