forked from jasder/antlr
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:
parent
eb1adaa8a7
commit
8b706e2427
|
@ -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;
|
||||
}
|
||||
>>
|
||||
|
||||
|
|
Loading…
Reference in New Issue