From ae0ee18a77e81cb9c8dbb5a5798a44d5d135d0b7 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Thu, 4 Feb 2010 12:03:34 +0100 Subject: Removed #ifdefs so all AST nodes are always there. Also removed the (conditional) invoke_token from DeclarationAST and use the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch code generation. --- src/shared/cplusplus/AST.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/shared/cplusplus/AST.cpp') diff --git a/src/shared/cplusplus/AST.cpp b/src/shared/cplusplus/AST.cpp index 62871bbfd2..fe697ea91d 100644 --- a/src/shared/cplusplus/AST.cpp +++ b/src/shared/cplusplus/AST.cpp @@ -144,7 +144,6 @@ unsigned AccessDeclarationAST::lastToken() const return access_specifier_token + 1; } -#ifdef ICHECK_BUILD unsigned QPropertyDeclarationAST::firstToken() const { return property_specifier_token; @@ -184,7 +183,6 @@ unsigned QDeclareFlagsDeclarationAST::lastToken() const { return rparen_token; } -#endif unsigned ArrayAccessAST::firstToken() const { -- cgit v1.2.1