Skip to content

[C++ codegen] Add default cases to AltBlock and OptionalBlock #2865

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 1 commit into from
Sep 10, 2020

Conversation

nburles
Copy link

@nburles nburles commented Jul 15, 2020

All other switch statements have a default case (either "break" or ""), but these two are missing.

Does not change functionality, simply fixes a warning - and allows a project to build with -Werror.

All other switch statements have a default case (either "break" or
"<error>"), but these are missing.

Does not change functionality, simply fixes a warning - and allows a
project to build with -Werror.
@mike-lischke
Copy link
Member

@parrt Small C++ change, ready to be merged.

@parrt parrt merged commit 630e4c0 into antlr:master Sep 10, 2020
@parrt parrt added this to the 4.9 milestone Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants