aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Driver/PrintPreprocessedOutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/PrintPreprocessedOutput.cpp b/Driver/PrintPreprocessedOutput.cpp
index da0023760d..9783754654 100644
--- a/Driver/PrintPreprocessedOutput.cpp
+++ b/Driver/PrintPreprocessedOutput.cpp
@@ -188,8 +188,8 @@ void PrintPPOutputPPCallbacks::MoveToLine(SourceLocation Loc) {
else {
const char *NewLines = "\n\n\n\n\n\n\n\n";
OutputString(NewLines, LineNo-CurLine);
- CurLine = LineNo;
}
+ CurLine = LineNo;
} else {
if (EmittedTokensOnThisLine) {
OutputChar('\n');