00001 #ifndef YY_mootLexfreqsParser_h_included
00002 #define YY_mootLexfreqsParser_h_included
00003
00004 #line 1 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00005
00006 #ifdef c_plusplus
00007 #ifndef __cplusplus
00008 #define __cplusplus
00009 #endif
00010 #endif
00011 #ifdef __cplusplus
00012 #ifndef YY_USE_CLASS
00013 #define YY_USE_CLASS
00014 #endif
00015 #else
00016 #endif
00017 #include <stdio.h>
00018
00019
00020 #define YY_mootLexfreqsParser_LSP_NEEDED
00021 #define YY_mootLexfreqsParser_LTYPE mootLexfreqsParserLType
00022 #define YY_mootLexfreqsParser_DEBUG 1
00023 #define YY_mootLexfreqsParser_ERROR_VERBOSE
00024 #define YY_mootLexfreqsParser_LEX_BODY =0
00025 #line 55 "mootLexfreqsParser.yy"
00026
00027 #include <stdio.h>
00028 #include <stdlib.h>
00029 #include <stdarg.h>
00030 #include <math.h>
00031
00032 #include <string>
00033 #include <string.h>
00034
00035 #include "mootTypes.h"
00036 #include "mootLexfreqs.h"
00037
00038
00039 #undef YYACCEPT
00040 #undef YYABORT
00041 #undef YYERROR
00042 #undef YYRECOVERING
00043
00044
00045
00046
00047 typedef struct {
00048 int timestamp;
00049 int first_line;
00050 int first_column;
00051 int last_line;
00052 int last_column;
00053 char *text;
00054 } mootLexfreqsParserLType;
00055
00056
00061 #define YY_mootLexfreqsParser_CLASS mootLexfreqsParser
00062 #define YY_mootLexfreqsParser_MEMBERS \
00063 public: \
00064 \
00065 \
00066 moot::mootLexfreqs *lexfreqs; \
00067 \
00068 std::set<moot::mootTagString> *alltags; \
00069 private: \
00070 \
00071 public: \
00072 \
00073 \
00074 virtual void yywarn(const char *msg) { \
00075 yycarp("mootLexfreqsParser: Warning: %s", msg);\
00076 }; \
00077 \
00078 virtual void yycarp(char *fmt, ...);
00079 #define YY_mootLexfreqsParser_CONSTRUCTOR_INIT : lexfreqs(NULL), alltags(NULL)
00080
00081 #line 126 "mootLexfreqsParser.yy"
00082 typedef union {
00083 moot::mootTokString *tokstr;
00084 moot::CountT count;
00085 } yy_mootLexfreqsParser_stype;
00086 #define YY_mootLexfreqsParser_STYPE yy_mootLexfreqsParser_stype
00087 #line 131 "mootLexfreqsParser.yy"
00088
00094 #line 14 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00095
00096 #ifndef YY_mootLexfreqsParser_COMPATIBILITY
00097 #ifndef YY_USE_CLASS
00098 #define YY_mootLexfreqsParser_COMPATIBILITY 1
00099 #else
00100 #define YY_mootLexfreqsParser_COMPATIBILITY 0
00101 #endif
00102 #endif
00103
00104 #if YY_mootLexfreqsParser_COMPATIBILITY != 0
00105
00106 #ifdef YYLTYPE
00107 #ifndef YY_mootLexfreqsParser_LTYPE
00108 #define YY_mootLexfreqsParser_LTYPE YYLTYPE
00109
00110
00111 #endif
00112 #endif
00113 #ifdef YYSTYPE
00114 #ifndef YY_mootLexfreqsParser_STYPE
00115 #define YY_mootLexfreqsParser_STYPE YYSTYPE
00116
00117
00118 #endif
00119 #endif
00120 #ifdef YYDEBUG
00121 #ifndef YY_mootLexfreqsParser_DEBUG
00122 #define YY_mootLexfreqsParser_DEBUG YYDEBUG
00123
00124
00125 #endif
00126 #endif
00127 #ifdef YY_mootLexfreqsParser_STYPE
00128 #ifndef yystype
00129 #define yystype YY_mootLexfreqsParser_STYPE
00130 #endif
00131 #endif
00132 #endif
00133
00134 #ifndef YY_mootLexfreqsParser_PURE
00135
00136
00137
00138 #line 54 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00139
00140 #endif
00141
00142
00143
00144 #line 56 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00145
00146 #ifndef YY_mootLexfreqsParser_DEBUG
00147
00148
00149
00150 #line 58 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00151
00152 #endif
00153 #ifndef YY_mootLexfreqsParser_LSP_NEEDED
00154
00155
00156
00157 #line 61 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00158
00159 #endif
00160
00161 #ifdef YY_mootLexfreqsParser_LSP_NEEDED
00162 #ifndef YY_mootLexfreqsParser_LTYPE
00163 typedef
00164 struct yyltype
00165 {
00166 int timestamp;
00167 int first_line;
00168 int first_column;
00169 int last_line;
00170 int last_column;
00171 char *text;
00172 }
00173 yyltype;
00174
00175 #define YY_mootLexfreqsParser_LTYPE yyltype
00176 #endif
00177 #endif
00178
00179 #ifndef YY_mootLexfreqsParser_STYPE
00180 #define YY_mootLexfreqsParser_STYPE int
00181 #endif
00182
00183 #ifndef YY_mootLexfreqsParser_PARSE
00184 #define YY_mootLexfreqsParser_PARSE yyparse
00185 #endif
00186 #ifndef YY_mootLexfreqsParser_LEX
00187 #define YY_mootLexfreqsParser_LEX yylex
00188 #endif
00189 #ifndef YY_mootLexfreqsParser_LVAL
00190 #define YY_mootLexfreqsParser_LVAL yylval
00191 #endif
00192 #ifndef YY_mootLexfreqsParser_LLOC
00193 #define YY_mootLexfreqsParser_LLOC yylloc
00194 #endif
00195 #ifndef YY_mootLexfreqsParser_CHAR
00196 #define YY_mootLexfreqsParser_CHAR yychar
00197 #endif
00198 #ifndef YY_mootLexfreqsParser_NERRS
00199 #define YY_mootLexfreqsParser_NERRS yynerrs
00200 #endif
00201 #ifndef YY_mootLexfreqsParser_DEBUG_FLAG
00202 #define YY_mootLexfreqsParser_DEBUG_FLAG yydebug
00203 #endif
00204 #ifndef YY_mootLexfreqsParser_ERROR
00205 #define YY_mootLexfreqsParser_ERROR yyerror
00206 #endif
00207
00208 #ifndef YY_mootLexfreqsParser_PARSE_PARAM
00209 #ifndef __STDC__
00210 #ifndef __cplusplus
00211 #ifndef YY_USE_CLASS
00212 #define YY_mootLexfreqsParser_PARSE_PARAM
00213 #ifndef YY_mootLexfreqsParser_PARSE_PARAM_DEF
00214 #define YY_mootLexfreqsParser_PARSE_PARAM_DEF
00215 #endif
00216 #endif
00217 #endif
00218 #endif
00219 #ifndef YY_mootLexfreqsParser_PARSE_PARAM
00220 #define YY_mootLexfreqsParser_PARSE_PARAM void
00221 #endif
00222 #endif
00223
00224
00225 #ifndef YY_USE_CLASS
00226
00227 #ifndef YY_mootLexfreqsParser_PURE
00228 extern YY_mootLexfreqsParser_STYPE YY_mootLexfreqsParser_LVAL;
00229 #endif
00230
00231
00232
00233 #define TOKEN 258
00234 #define COUNT 259
00235
00236
00237 #line 134 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00238
00239
00240 #else
00241 #ifndef YY_mootLexfreqsParser_CLASS
00242 #define YY_mootLexfreqsParser_CLASS mootLexfreqsParser
00243 #endif
00244
00245 #ifndef YY_mootLexfreqsParser_INHERIT
00246 #define YY_mootLexfreqsParser_INHERIT
00247 #endif
00248 #ifndef YY_mootLexfreqsParser_MEMBERS
00249 #define YY_mootLexfreqsParser_MEMBERS
00250 #endif
00251 #ifndef YY_mootLexfreqsParser_LEX_BODY
00252 #define YY_mootLexfreqsParser_LEX_BODY
00253 #endif
00254 #ifndef YY_mootLexfreqsParser_ERROR_BODY
00255 #define YY_mootLexfreqsParser_ERROR_BODY
00256 #endif
00257 #ifndef YY_mootLexfreqsParser_CONSTRUCTOR_PARAM
00258 #define YY_mootLexfreqsParser_CONSTRUCTOR_PARAM
00259 #endif
00260
00261 class YY_mootLexfreqsParser_CLASS YY_mootLexfreqsParser_INHERIT
00262 {
00263 public:
00264
00265
00266 static const int TOKEN;
00267 static const int COUNT;
00268
00269
00270 #line 160 "C:/msys/1.0/local/share/flex++bison++/bison.h"
00271
00272 public:
00273 int YY_mootLexfreqsParser_PARSE(YY_mootLexfreqsParser_PARSE_PARAM);
00274 virtual void YY_mootLexfreqsParser_ERROR(char *) YY_mootLexfreqsParser_ERROR_BODY;
00275 #ifdef YY_mootLexfreqsParser_PURE
00276 #ifdef YY_mootLexfreqsParser_LSP_NEEDED
00277 virtual int YY_mootLexfreqsParser_LEX(YY_mootLexfreqsParser_STYPE *YY_mootLexfreqsParser_LVAL,YY_mootLexfreqsParser_LTYPE *YY_mootLexfreqsParser_LLOC) YY_mootLexfreqsParser_LEX_BODY;
00278 #else
00279 virtual int YY_mootLexfreqsParser_LEX(YY_mootLexfreqsParser_STYPE *YY_mootLexfreqsParser_LVAL) YY_mootLexfreqsParser_LEX_BODY;
00280 #endif
00281 #else
00282 virtual int YY_mootLexfreqsParser_LEX() YY_mootLexfreqsParser_LEX_BODY;
00283 YY_mootLexfreqsParser_STYPE YY_mootLexfreqsParser_LVAL;
00284 #ifdef YY_mootLexfreqsParser_LSP_NEEDED
00285 YY_mootLexfreqsParser_LTYPE YY_mootLexfreqsParser_LLOC;
00286 #endif
00287 int YY_mootLexfreqsParser_NERRS;
00288 int YY_mootLexfreqsParser_CHAR;
00289 #endif
00290 #if YY_mootLexfreqsParser_DEBUG != 0
00291 public:
00292 int YY_mootLexfreqsParser_DEBUG_FLAG;
00293 #endif
00294 public:
00295 YY_mootLexfreqsParser_CLASS(YY_mootLexfreqsParser_CONSTRUCTOR_PARAM);
00296 public:
00297 YY_mootLexfreqsParser_MEMBERS
00298 };
00299
00300 #endif
00301
00302
00303 #if YY_mootLexfreqsParser_COMPATIBILITY != 0
00304
00305 #ifndef YYSTYPE
00306 #define YYSTYPE YY_mootLexfreqsParser_STYPE
00307 #endif
00308
00309 #ifndef YYLTYPE
00310 #define YYLTYPE YY_mootLexfreqsParser_LTYPE
00311 #endif
00312 #ifndef YYDEBUG
00313 #ifdef YY_mootLexfreqsParser_DEBUG
00314 #define YYDEBUG YY_mootLexfreqsParser_DEBUG
00315 #endif
00316 #endif
00317
00318 #endif
00319
00320
00321
00322 #endif