00001
00002 #ifdef c_plusplus
00003 #ifndef __cplusplus
00004 #define __cplusplus
00005 #endif
00006 #endif
00007 #ifdef __cplusplus
00008 #ifndef YY_USE_CLASS
00009 #define YY_USE_CLASS
00010 #endif
00011 #else
00012 #endif
00013 #include <stdio.h>
00014 $
00015 #ifndef YY_@_COMPATIBILITY
00016 #ifndef YY_USE_CLASS
00017 #define YY_@_COMPATIBILITY 1
00018 #else
00019 #define YY_@_COMPATIBILITY 0
00020 #endif
00021 #endif
00022
00023 #if YY_@_COMPATIBILITY != 0
00024
00025 #ifdef YYLTYPE
00026 #ifndef YY_@_LTYPE
00027 #define YY_@_LTYPE YYLTYPE
00028
00029
00030 #endif
00031 #endif
00032 #ifdef YYSTYPE
00033 #ifndef YY_@_STYPE
00034 #define YY_@_STYPE YYSTYPE
00035
00036
00037 #endif
00038 #endif
00039 #ifdef YYDEBUG
00040 #ifndef YY_@_DEBUG
00041 #define YY_@_DEBUG YYDEBUG
00042
00043
00044 #endif
00045 #endif
00046 #ifdef YY_@_STYPE
00047 #ifndef yystype
00048 #define yystype YY_@_STYPE
00049 #endif
00050 #endif
00051
00052 #ifndef YY_@_USE_GOTO
00053 #define YY_@_USE_GOTO 1
00054 #endif
00055 #endif
00056
00057
00058 #ifndef YY_@_USE_GOTO
00059 #define YY_@_USE_GOTO 0
00060 #endif
00061
00062 #ifndef YY_@_PURE
00063 $
00064 #endif
00065 $
00066 #ifndef YY_@_DEBUG
00067 $
00068 #endif
00069 #ifndef YY_@_LSP_NEEDED
00070 $
00071 #endif
00072
00073 #ifdef YY_@_LSP_NEEDED
00074 #ifndef YY_@_LTYPE
00075 typedef
00076 struct yyltype
00077 {
00078 int timestamp;
00079 int first_line;
00080 int first_column;
00081 int last_line;
00082 int last_column;
00083 char *text;
00084 }
00085 yyltype;
00086
00087 #define YY_@_LTYPE yyltype
00088 #endif
00089 #endif
00090
00091 #ifndef YY_@_STYPE
00092 #define YY_@_STYPE int
00093 #endif
00094
00095 #ifndef YY_@_PARSE
00096 #define YY_@_PARSE yyparse
00097 #endif
00098 #ifndef YY_@_LEX
00099 #define YY_@_LEX yylex
00100 #endif
00101 #ifndef YY_@_LVAL
00102 #define YY_@_LVAL yylval
00103 #endif
00104 #ifndef YY_@_LLOC
00105 #define YY_@_LLOC yylloc
00106 #endif
00107 #ifndef YY_@_CHAR
00108 #define YY_@_CHAR yychar
00109 #endif
00110 #ifndef YY_@_NERRS
00111 #define YY_@_NERRS yynerrs
00112 #endif
00113 #ifndef YY_@_DEBUG_FLAG
00114 #define YY_@_DEBUG_FLAG yydebug
00115 #endif
00116 #ifndef YY_@_ERROR
00117 #define YY_@_ERROR yyerror
00118 #endif
00119
00120 #ifndef YY_@_PARSE_PARAM
00121 #ifndef __STDC__
00122 #ifndef __cplusplus
00123 #ifndef YY_USE_CLASS
00124 #define YY_@_PARSE_PARAM
00125 #ifndef YY_@_PARSE_PARAM_DEF
00126 #define YY_@_PARSE_PARAM_DEF
00127 #endif
00128 #endif
00129 #endif
00130 #endif
00131 #ifndef YY_@_PARSE_PARAM
00132 #define YY_@_PARSE_PARAM void
00133 #endif
00134 #endif
00135
00136
00137 #ifndef YY_USE_CLASS
00138
00139 #ifndef YY_@_PURE
00140 extern YY_@_STYPE YY_@_LVAL;
00141 #endif
00142
00143 $
00144
00145 #else
00146 #ifndef YY_@_CLASS
00147 #define YY_@_CLASS @
00148 #endif
00149
00150 #ifndef YY_@_INHERIT
00151 #define YY_@_INHERIT
00152 #endif
00153 #ifndef YY_@_MEMBERS
00154 #define YY_@_MEMBERS
00155 #endif
00156 #ifndef YY_@_LEX_BODY
00157 #define YY_@_LEX_BODY
00158 #endif
00159 #ifndef YY_@_ERROR_BODY
00160 #define YY_@_ERROR_BODY
00161 #endif
00162 #ifndef YY_@_CONSTRUCTOR_PARAM
00163 #define YY_@_CONSTRUCTOR_PARAM
00164 #endif
00165
00166 #ifndef YY_@_USE_CONST_TOKEN
00167 #define YY_@_USE_CONST_TOKEN 0
00168
00169
00170 #endif
00171 #if YY_@_USE_CONST_TOKEN != 0
00172 #ifndef YY_@_ENUM_TOKEN
00173 #define YY_@_ENUM_TOKEN yy_@_enum_token
00174 #endif
00175 #endif
00176
00177 class YY_@_CLASS YY_@_INHERIT
00178 {
00179 public:
00180 #if YY_@_USE_CONST_TOKEN != 0
00181
00182 $
00183 #else
00184 enum YY_@_ENUM_TOKEN { YY_@_NULL_TOKEN=0
00185 $
00186 };
00187 #endif
00188 public:
00189 int YY_@_PARSE(YY_@_PARSE_PARAM);
00190 virtual void YY_@_ERROR(char *msg) YY_@_ERROR_BODY;
00191 #ifdef YY_@_PURE
00192 #ifdef YY_@_LSP_NEEDED
00193 virtual int YY_@_LEX(YY_@_STYPE *YY_@_LVAL,YY_@_LTYPE *YY_@_LLOC) YY_@_LEX_BODY;
00194 #else
00195 virtual int YY_@_LEX(YY_@_STYPE *YY_@_LVAL) YY_@_LEX_BODY;
00196 #endif
00197 #else
00198 virtual int YY_@_LEX() YY_@_LEX_BODY;
00199 YY_@_STYPE YY_@_LVAL;
00200 #ifdef YY_@_LSP_NEEDED
00201 YY_@_LTYPE YY_@_LLOC;
00202 #endif
00203 int YY_@_NERRS;
00204 int YY_@_CHAR;
00205 #endif
00206 #if YY_@_DEBUG != 0
00207 public:
00208 int YY_@_DEBUG_FLAG;
00209 #endif
00210 public:
00211 YY_@_CLASS(YY_@_CONSTRUCTOR_PARAM);
00212 public:
00213 YY_@_MEMBERS
00214 };
00215
00216 #endif
00217
00218
00219 #if YY_@_COMPATIBILITY != 0
00220
00221 #ifndef YYSTYPE
00222 #define YYSTYPE YY_@_STYPE
00223 #endif
00224
00225 #ifndef YYLTYPE
00226 #define YYLTYPE YY_@_LTYPE
00227 #endif
00228 #ifndef YYDEBUG
00229 #ifdef YY_@_DEBUG
00230 #define YYDEBUG YY_@_DEBUG
00231 #endif
00232 #endif
00233
00234 #endif
00235
00236 $
00237
00238
00239
00240
00241