aboutsummaryrefslogtreecommitdiff
path: root/lib/Parser/Parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Parser/Parser.cc')
-rw-r--r--lib/Parser/Parser.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Parser/Parser.cc b/lib/Parser/Parser.cc
index d17856b..ad2e408 100644
--- a/lib/Parser/Parser.cc
+++ b/lib/Parser/Parser.cc
@@ -30,6 +30,7 @@ Parser::Parser(Lexer &L) : Lex(L) {
void Parser::getNextToken() {
int PreviousLine = CurTok == tok_eof ? 0 : Lex.getLine();
+ PrevTokLine = PreviousLine;
CurTok = Lex.gettok();
StartsLine = Lex.getLine() != PreviousLine;
}