1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
48
  
49
  
50
  
51
  
52
  
53
  
54
  
55
  
56
  
57
  
/*\ 
||| This file a part of Pike, and is copyright by Fredrik Hubinette 
||| Pike is distributed as GPL (General Public License) 
||| See the files COPYING and DISCLAIMER for more information. 
\*/ 
#ifndef CONFIG_H 
#define CONFIG_H 
 
/* 
 * Define the evaluator stack size, used for just about everything. 
 */ 
#define EVALUATOR_STACK_SIZE  100000 
 
/* 
 * The compiler stack is used when compiling to keep track of data. 
 * This value need too be large enough for the programs you compile. 
 */ 
#define COMPILER_STACK_SIZE   4000 
 
/* 
 * Max number of local variables in a function. 
 * Currently there is no support for more than 256 
 */ 
#define MAX_LOCAL     256 
 
/* 
 * Define the size of the shared string hash table. 
 */ 
#define       HTABLE_SIZE 4711 
 
/* 
 * Define the size of the cache that is used for method lookup. 
 */ 
#define FIND_FUNCTION_HASHSIZE 4711 
 
/* 
 * Undefine this to disable garabge collection 
 */ 
#ifndef NO_GC 
#define GC2 
#endif 
    
 
/* 
 * Do we want YYDEBUG? 
 */ 
 
#ifdef DEBUG 
#define YYDEBUG 1 
#endif 
 
/* Not parently used */ 
#define GC_TIME 60 
 
#endif