diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-15 15:03:41 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-06-15 15:39:20 +0200 |
commit | dbba0ff8d7456de3d8e7cc2796c48fcbc700acf1 (patch) | |
tree | d0724a1110420c55e9674bec08bbf3ade8ece6f1 /src/shared/cplusplus/TranslationUnit.cpp | |
parent | 1754aefdb165c64ae0751864c58f02d0c24cd664 (diff) | |
download | qt-creator-dbba0ff8d7456de3d8e7cc2796c48fcbc700acf1.tar.gz |
Removed the filename literals.
Diffstat (limited to 'src/shared/cplusplus/TranslationUnit.cpp')
-rw-r--r-- | src/shared/cplusplus/TranslationUnit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/TranslationUnit.cpp b/src/shared/cplusplus/TranslationUnit.cpp index 2f2024dc2d..225bd13796 100644 --- a/src/shared/cplusplus/TranslationUnit.cpp +++ b/src/shared/cplusplus/TranslationUnit.cpp @@ -212,8 +212,8 @@ void TranslationUnit::tokenize() unsigned line = (unsigned) strtoul(tk.spell(), 0, 0); lex(&tk); if (! tk.newline && tk.is(T_STRING_LITERAL)) { - StringLiteral *fileName = control()->findOrInsertFileName(tk.string->chars(), - tk.string->size()); + StringLiteral *fileName = control()->findOrInsertStringLiteral(tk.string->chars(), + tk.string->size()); pushPreprocessorLine(offset, line, fileName); lex(&tk); } |