git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57389 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-10-12 00:23:07 +00:00
Родитель a7996d43c7
Коммит 7a4f004a77
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -813,7 +813,8 @@ bool Lexer::SkipBCPLComment(Token &Result, const char *CurPtr) {
}
// Otherwise, eat the \n character. We don't care if this is a \n\r or
// \r\n sequence.
// \r\n sequence. This is an efficiency hack (because we know the \n can't
// contribute to another token), it isn't needed for correctness.
++CurPtr;
// The next returned token is at the start of the line.