From 13675cf6ed022db43f961473f78a97325014fea2 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Tue, 20 Oct 2009 11:21:25 +0200 Subject: Cleanup the C++ front-end. Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT. --- src/shared/cplusplus/Lexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/cplusplus/Lexer.cpp') diff --git a/src/shared/cplusplus/Lexer.cpp b/src/shared/cplusplus/Lexer.cpp index 79c9bf4af1..a0cc9495d8 100644 --- a/src/shared/cplusplus/Lexer.cpp +++ b/src/shared/cplusplus/Lexer.cpp @@ -55,7 +55,7 @@ using namespace std; -CPLUSPLUS_BEGIN_NAMESPACE +using namespace CPlusPlus; Lexer::Lexer(TranslationUnit *unit) : _translationUnit(unit), @@ -720,4 +720,4 @@ void Lexer::scan_helper(Token *tok) } // switch } -CPLUSPLUS_END_NAMESPACE + -- cgit v1.2.1