1 #ifndef tokens_h 2 #define tokens_h 3 /* tokens.h -- List of labelled tokens and stuff 4 * 5 * Generated from: antlr.g 6 * 7 * Terence Parr, Will Cohen, and Hank Dietz: 1989-2001 8 * Purdue University Electrical Engineering 9 * ANTLR Version 1.33MR33 10 */ 11 #define zzEOF_TOKEN 1 12 #define Eof 1 13 #define QuotedTerm 2 14 #define Action 34 15 #define Pred 35 16 #define PassAction 36 17 #define WildCard 87 18 #define LABEL 89 19 #define Pragma 92 20 #define FirstSetSymbol 93 21 #define NonTerminal 100 22 #define TokenTerm 101 23 #define ID 148 24 #define INT 150 25 26 #ifdef __USE_PROTOS 27 void grammar(void); 28 #else 29 extern void grammar(); 30 #endif 31 32 #ifdef __USE_PROTOS 33 void class_def(void); 34 #else 35 extern void class_def(); 36 #endif 37 38 #ifdef __USE_PROTOS 39 void rule(void); 40 #else 41 extern void rule(); 42 #endif 43 44 #ifdef __USE_PROTOS 45 void laction(void); 46 #else 47 extern void laction(); 48 #endif 49 50 #ifdef __USE_PROTOS 51 void lmember(void); 52 #else 53 extern void lmember(); 54 #endif 55 56 #ifdef __USE_PROTOS 57 void lprefix(void); 58 #else 59 extern void lprefix(); 60 #endif 61 62 #ifdef __USE_PROTOS 63 void aPred(void); 64 #else 65 extern void aPred(); 66 #endif 67 68 #ifdef __USE_PROTOS 69 extern Predicate * predOrExpr(void); 70 #else 71 extern Predicate * predOrExpr(); 72 #endif 73 74 #ifdef __USE_PROTOS 75 extern Predicate * predAndExpr(void); 76 #else 77 extern Predicate * predAndExpr(); 78 #endif 79 80 #ifdef __USE_PROTOS 81 extern Predicate * predPrimary(void); 82 #else 83 extern Predicate * predPrimary(); 84 #endif 85 86 #ifdef __USE_PROTOS 87 void aLexclass(void); 88 #else 89 extern void aLexclass(); 90 #endif 91 92 #ifdef __USE_PROTOS 93 void error(void); 94 #else 95 extern void error(); 96 #endif 97 98 #ifdef __USE_PROTOS 99 void tclass(void); 100 #else 101 extern void tclass(); 102 #endif 103 104 #ifdef __USE_PROTOS 105 void token(void); 106 #else 107 extern void token(); 108 #endif 109 110 #ifdef __USE_PROTOS 111 void block(set * toksrefd,set * rulesrefd); 112 #else 113 extern void block(); 114 #endif 115 116 #ifdef __USE_PROTOS 117 void alt(set * toksrefd,set * rulesrefd); 118 #else 119 extern void alt(); 120 #endif 121 122 #ifdef __USE_PROTOS 123 extern LabelEntry * element_label(void); 124 #else 125 extern LabelEntry * element_label(); 126 #endif 127 128 #ifdef __USE_PROTOS 129 extern Node * element(int old_not,int first_on_line,int use_def_MT_handler); 130 #else 131 extern Node * element(); 132 #endif 133 134 #ifdef __USE_PROTOS 135 void default_exception_handler(void); 136 #else 137 extern void default_exception_handler(); 138 #endif 139 140 #ifdef __USE_PROTOS 141 extern ExceptionGroup * exception_group(void); 142 #else 143 extern ExceptionGroup * exception_group(); 144 #endif 145 146 #ifdef __USE_PROTOS 147 extern ExceptionHandler * exception_handler(void); 148 #else 149 extern ExceptionHandler * exception_handler(); 150 #endif 151 152 #ifdef __USE_PROTOS 153 void enum_file(char * fname); 154 #else 155 extern void enum_file(); 156 #endif 157 158 #ifdef __USE_PROTOS 159 void defines(char * fname); 160 #else 161 extern void defines(); 162 #endif 163 164 #ifdef __USE_PROTOS 165 void enum_def(char * fname); 166 #else 167 extern void enum_def(); 168 #endif 169 170 #endif 171 extern SetWordType zzerr1[]; 172 extern SetWordType zzerr2[]; 173 extern SetWordType zzerr3[]; 174 extern SetWordType zzerr4[]; 175 extern SetWordType setwd1[]; 176 extern SetWordType zzerr5[]; 177 extern SetWordType zzerr6[]; 178 extern SetWordType zzerr7[]; 179 extern SetWordType zzerr8[]; 180 extern SetWordType zzerr9[]; 181 extern SetWordType setwd2[]; 182 extern SetWordType zzerr10[]; 183 extern SetWordType zzerr11[]; 184 extern SetWordType zzerr12[]; 185 extern SetWordType zzerr13[]; 186 extern SetWordType setwd3[]; 187 extern SetWordType zzerr14[]; 188 extern SetWordType zzerr15[]; 189 extern SetWordType zzerr16[]; 190 extern SetWordType zzerr17[]; 191 extern SetWordType zzerr18[]; 192 extern SetWordType zzerr19[]; 193 extern SetWordType zzerr20[]; 194 extern SetWordType zzerr21[]; 195 extern SetWordType setwd4[]; 196 extern SetWordType zzerr22[]; 197 extern SetWordType zzerr23[]; 198 extern SetWordType zzerr24[]; 199 extern SetWordType zzerr25[]; 200 extern SetWordType zzerr26[]; 201 extern SetWordType setwd5[]; 202 extern SetWordType zzerr27[]; 203 extern SetWordType zzerr28[]; 204 extern SetWordType zzerr29[]; 205 extern SetWordType zzerr30[]; 206 extern SetWordType zzerr31[]; 207 extern SetWordType zzerr32[]; 208 extern SetWordType zzerr33[]; 209 extern SetWordType setwd6[]; 210 extern SetWordType zzerr34[]; 211 extern SetWordType zzerr35[]; 212 extern SetWordType zzerr36[]; 213 extern SetWordType zzerr37[]; 214 extern SetWordType zzerr38[]; 215 extern SetWordType zzerr39[]; 216 extern SetWordType zzerr40[]; 217 extern SetWordType zzerr41[]; 218 extern SetWordType zzerr42[]; 219 extern SetWordType setwd7[]; 220 extern SetWordType zzerr43[]; 221 extern SetWordType zzerr44[]; 222 extern SetWordType zzerr45[]; 223 extern SetWordType zzerr46[]; 224 extern SetWordType zzerr47[]; 225 extern SetWordType zzerr48[]; 226 extern SetWordType zzerr49[]; 227 extern SetWordType zzerr50[]; 228 extern SetWordType zzerr51[]; 229 extern SetWordType zzerr52[]; 230 extern SetWordType zzerr53[]; 231 extern SetWordType setwd8[]; 232 extern SetWordType zzerr54[]; 233 extern SetWordType zzerr55[]; 234 extern SetWordType zzerr56[]; 235 extern SetWordType zzerr57[]; 236 extern SetWordType setwd9[]; 237 extern SetWordType zzerr58[]; 238 extern SetWordType zzerr59[]; 239 extern SetWordType zzerr60[]; 240 extern SetWordType zzerr61[]; 241 extern SetWordType zzerr62[]; 242 extern SetWordType zzerr63[]; 243 extern SetWordType zzerr64[]; 244 extern SetWordType zzerr65[]; 245 extern SetWordType setwd10[]; 246 extern SetWordType setwd11[]; 247