| 1 | 
+ | 
#include <antlr/config.hpp> | 
| 2 | 
+ | 
 | 
| 3 | 
  | 
#include <string> | 
| 4 | 
  | 
#include <list> | 
| 5 | 
  | 
#include <vector> | 
| 10 | 
  | 
#include <sstream> | 
| 11 | 
  | 
#include <cassert> | 
| 12 | 
  | 
 | 
| 11 | 
– | 
#include <antlr/config.hpp> | 
| 12 | 
– | 
 | 
| 13 | 
  | 
#include <antlr/TokenStream.hpp> | 
| 14 | 
  | 
#include <antlr/TokenWithIndex.hpp> | 
| 15 | 
  | 
#include <antlr/BitSet.hpp> | 
| 19 | 
  | 
namespace antlr { | 
| 20 | 
  | 
#endif | 
| 21 | 
  | 
 | 
| 22 | 
+ | 
#ifndef NO_STATIC_CONSTS | 
| 23 | 
+ | 
const size_t TokenStreamRewriteEngine::MIN_TOKEN_INDEX = 0; | 
| 24 | 
+ | 
const int TokenStreamRewriteEngine::PROGRAM_INIT_SIZE = 100; | 
| 25 | 
+ | 
#endif | 
| 26 | 
+ | 
 | 
| 27 | 
  | 
const char* TokenStreamRewriteEngine::DEFAULT_PROGRAM_NAME = "default"; | 
| 28 | 
  | 
 | 
| 29 | 
  | 
namespace { |