--- trunk/src/antlr/BaseAST.cpp 2005/12/02 15:38:03 770 +++ branches/development/src/antlr/BaseAST.cpp 2011/09/15 13:39:36 1633 @@ -2,12 +2,13 @@ * Project led by Terence Parr at http://www.jGuru.com * Software rights: http://www.antlr.org/license.html * - * $Id: BaseAST.cpp,v 1.1 2005-12-02 15:38:02 tim Exp $ + * $Id$ */ +#include "antlr/config.hpp" + #include -#include "antlr/config.hpp" #include "antlr/AST.hpp" #include "antlr/BaseAST.hpp" @@ -16,8 +17,6 @@ namespace antlr { namespace antlr { #endif -const char* const BaseAST::TYPE_NAME = "BaseAST"; - size_t BaseAST::getNumberOfChildren() const { RefBaseAST t = this->down; @@ -271,7 +270,8 @@ ANTLR_API RefAST nullAST; // this is nasty, but it makes the code generation easier ANTLR_API RefAST nullAST; -#if defined(_MSC_VER) && !defined(__ICL) // Microsoft Visual C++ +#if defined(_MSC_VER) && !defined(__ICL) +// Microsoft Visual C++ extern ANTLR_API AST* const nullASTptr = 0; #else ANTLR_API AST* const nullASTptr = 0;