Cleanup the C++ front-end.

Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
This commit is contained in:
Roberto Raggi
2009-10-20 11:21:25 +02:00
parent 0a7d402d85
commit 13675cf6ed
71 changed files with 215 additions and 237 deletions

View File

@@ -49,7 +49,7 @@
#include "Lexer.h"
#include "Token.h"
CPLUSPLUS_BEGIN_NAMESPACE
using namespace CPlusPlus;
static inline int classify2(const char *s, bool) {
if (s[0] == 'd') {
@@ -1400,4 +1400,4 @@ int Lexer::classifyOperator(const char *s, int n) {
} // switch
}
CPLUSPLUS_END_NAMESPACE