Add default cases to AltBlock and OptionalBlock

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.
This commit is contained in:
Nathan Burles 2020-07-15 14:32:21 +01:00
parent eb1adaa8a7
commit 8b706e2427
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;
}
>>