Prevent unhandled warning about switch cases.

This commit is contained in:
Axel Naumann 2015-03-31 16:40:56 +02:00 committed by sftnight
parent 529b0aed53
commit fb159e163c

View File

@ -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') {