Fix buildbot breakage.

llvm-svn: 191424
This commit is contained in:
Richard Smith 2013-09-26 05:57:03 +00:00
parent 71e8bb6d1d
commit 99dc071104
1 changed files with 4 additions and 4 deletions

View File

@ -685,11 +685,11 @@ void NumericLiteralParser::checkSeparator(SourceLocation TokLoc,
const char *Pos,
CheckSeparatorKind IsAfterDigits) {
if (IsAfterDigits == CSK_AfterDigits) {
assert(Pos != ThisTokBegin);
if (Pos == ThisTokBegin)
return;
--Pos;
} else {
assert(Pos != ThisTokEnd);
}
} else if (Pos == ThisTokEnd)
return;
if (isDigitSeparator(*Pos))
PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Pos - ThisTokBegin),