| 5 |
|
* $Id$ |
| 6 |
|
*/ |
| 7 |
|
|
| 8 |
+ |
#include "antlr/config.hpp" |
| 9 |
+ |
|
| 10 |
|
#include <iostream> |
| 11 |
|
|
| 10 |
– |
#include "antlr/config.hpp" |
| 12 |
|
#include "antlr/AST.hpp" |
| 13 |
|
#include "antlr/BaseAST.hpp" |
| 14 |
|
|
| 16 |
|
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE |
| 17 |
|
namespace antlr { |
| 18 |
|
#endif |
| 18 |
– |
|
| 19 |
– |
const char* const BaseAST::TYPE_NAME = "BaseAST"; |
| 19 |
|
|
| 20 |
|
size_t BaseAST::getNumberOfChildren() const |
| 21 |
|
{ |
| 270 |
|
// this is nasty, but it makes the code generation easier |
| 271 |
|
ANTLR_API RefAST nullAST; |
| 272 |
|
|
| 273 |
< |
#if defined(_MSC_VER) && !defined(__ICL) // Microsoft Visual C++ |
| 273 |
> |
#if defined(_MSC_VER) && !defined(__ICL) |
| 274 |
> |
// Microsoft Visual C++ |
| 275 |
|
extern ANTLR_API AST* const nullASTptr = 0; |
| 276 |
|
#else |
| 277 |
|
ANTLR_API AST* const nullASTptr = 0; |