From dbba0ff8d7456de3d8e7cc2796c48fcbc700acf1 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Mon, 15 Jun 2009 15:03:41 +0200 Subject: Removed the filename literals. --- src/shared/cplusplus/TranslationUnit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/cplusplus/TranslationUnit.cpp') 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); } -- cgit v1.2.1