Skip to content

Remove unreachable 'declarations' grammar production #188

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

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

amartini51
Copy link
Member

@amartini51 amartini51 commented Oct 2, 2023

This production used to be part of the old approach to enum grammar — see commit 0f8a59f. Brian, can you think of any reasons we might want to keep the old approach around? (You committed it, but most likely you and I wrote it together.)

Fixes: #187

amartini51 and others added 2 commits October 2, 2023 16:16
These grammar productions were commented out in 2014 by commit
0f8a59f, as part of revising the
grammar for enumeration declarations.
This production was formerly used by the old, commented-out approach to
enum declaration grammar that the previous commit deleted.

Co-authored-by: Sarah Canto <[email protected]>
@amartini51 amartini51 requested a review from bjlanier October 2, 2023 23:27
@amartini51 amartini51 merged commit 7e77246 into swiftlang:main Oct 20, 2023
@amartini51 amartini51 deleted the enum_grammar_187 branch October 20, 2023 18:05
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.

Unreachable production in Swift grammar
2 participants