Merge pull request #2865 from nburles/fix_switch_missing_default_case

[C++ codegen] Add default cases to AltBlock and OptionalBlock
This commit is contained in:
Terence Parr 2020-09-10 10:52:25 -07:00 committed by GitHub
commit 630e4c0b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -710,6 +710,8 @@ switch (getInterpreter\<atn::ParserATNSimulator>()->adaptivePredict(_input, <cho
break;
\}
}; separator="\n">
default:
break;
}
>>
@ -724,6 +726,8 @@ switch (getInterpreter\<atn::ParserATNSimulator>()->adaptivePredict(_input, <cho
break;
\}
}; separator = "\n">
default:
break;
}
>>