diff options
author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-10-03 18:39:03 +0000 |
---|---|---|
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2011-10-03 18:39:03 +0000 |
commit | a08529cc3f00e0b47a3c028823634129ac46847b (patch) | |
tree | d90c4e2d8faa99b0f512a776a3fd9f6060380eeb /lib/Lex/Lexer.cpp | |
parent | 048e6490704d0a4e095e033786230c584b52d82c (diff) |
Fixed exapnsion range for # and ##.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Lexer.cpp')
-rw-r--r-- | lib/Lex/Lexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index 563248877e..6b69e57074 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -1776,7 +1776,7 @@ bool Lexer::SaveBCPLComment(Token &Result, const char *CurPtr) { Result.setKind(tok::comment); PP->CreateString(&Spelling[0], Spelling.size(), Result, - Result.getLocation()); + Result.getLocation(), Result.getLocation()); return true; } |