Prevent unhandled warning about switch cases.
This commit is contained in:
parent
529b0aed53
commit
fb159e163c
@ -167,11 +167,9 @@ namespace cling {
|
||||
Token temp_tok;
|
||||
MetaLexer::LexPunctuator(*curPos, temp_tok);
|
||||
|
||||
switch (temp_tok.getKind()) {
|
||||
case tok::quote:
|
||||
case tok::backslash:
|
||||
curPos++;
|
||||
}
|
||||
if (temp_tok.getKind() == tok::quote
|
||||
|| temp_tok.getKind() == tok::backslash)
|
||||
curPos++;
|
||||
}
|
||||
|
||||
if (*curPos == '\0') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user