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/SemanticCheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/cplusplus/SemanticCheck.cpp') diff --git a/src/shared/cplusplus/SemanticCheck.cpp b/src/shared/cplusplus/SemanticCheck.cpp index 92fdbf8389..1feffd93aa 100644 --- a/src/shared/cplusplus/SemanticCheck.cpp +++ b/src/shared/cplusplus/SemanticCheck.cpp @@ -49,7 +49,7 @@ #include "SemanticCheck.h" #include "Semantic.h" -CPLUSPLUS_BEGIN_NAMESPACE +using namespace CPlusPlus; SemanticCheck::SemanticCheck(Semantic *semantic) : ASTVisitor(semantic->control()), @@ -65,4 +65,4 @@ Semantic *SemanticCheck::semantic() const Control *SemanticCheck::control() const { return _semantic->control(); } -CPLUSPLUS_END_NAMESPACE + -- cgit v1.2.1