00001 #ifndef doHEADER_H
00002 #define doHEADER_H 1
00003 #define doIN_HEADER 1
00004
00005 #line 6 "do-lexer.h"
00006
00007 #line 8 "do-lexer.h"
00008
00009 #define YY_INT_ALIGNED short int
00010
00011
00012
00013 #define FLEX_SCANNER
00014 #define YY_FLEX_MAJOR_VERSION 2
00015 #define YY_FLEX_MINOR_VERSION 5
00016 #define YY_FLEX_SUBMINOR_VERSION 35
00017 #if YY_FLEX_SUBMINOR_VERSION > 0
00018 #define FLEX_BETA
00019 #endif
00020
00021
00022
00023
00024 #include <stdio.h>
00025 #include <string.h>
00026 #include <errno.h>
00027 #include <stdlib.h>
00028
00029
00030
00031
00032
00033 #ifndef FLEXINT_H
00034 #define FLEXINT_H
00035
00036
00037
00038 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
00039
00040
00041
00042
00043 #ifndef __STDC_LIMIT_MACROS
00044 #define __STDC_LIMIT_MACROS 1
00045 #endif
00046
00047 #include <inttypes.h>
00048 typedef int8_t flex_int8_t;
00049 typedef uint8_t flex_uint8_t;
00050 typedef int16_t flex_int16_t;
00051 typedef uint16_t flex_uint16_t;
00052 typedef int32_t flex_int32_t;
00053 typedef uint32_t flex_uint32_t;
00054 #else
00055 typedef signed char flex_int8_t;
00056 typedef short int flex_int16_t;
00057 typedef int flex_int32_t;
00058 typedef unsigned char flex_uint8_t;
00059 typedef unsigned short int flex_uint16_t;
00060 typedef unsigned int flex_uint32_t;
00061
00062
00063 #ifndef INT8_MIN
00064 #define INT8_MIN (-128)
00065 #endif
00066 #ifndef INT16_MIN
00067 #define INT16_MIN (-32767-1)
00068 #endif
00069 #ifndef INT32_MIN
00070 #define INT32_MIN (-2147483647-1)
00071 #endif
00072 #ifndef INT8_MAX
00073 #define INT8_MAX (127)
00074 #endif
00075 #ifndef INT16_MAX
00076 #define INT16_MAX (32767)
00077 #endif
00078 #ifndef INT32_MAX
00079 #define INT32_MAX (2147483647)
00080 #endif
00081 #ifndef UINT8_MAX
00082 #define UINT8_MAX (255U)
00083 #endif
00084 #ifndef UINT16_MAX
00085 #define UINT16_MAX (65535U)
00086 #endif
00087 #ifndef UINT32_MAX
00088 #define UINT32_MAX (4294967295U)
00089 #endif
00090
00091 #endif
00092
00093 #endif
00094
00095 #ifdef __cplusplus
00096
00097
00098 #define YY_USE_CONST
00099
00100 #else
00101
00102
00103 #if defined (__STDC__)
00104
00105 #define YY_USE_CONST
00106
00107 #endif
00108 #endif
00109
00110 #ifdef YY_USE_CONST
00111 #define yyconst const
00112 #else
00113 #define yyconst
00114 #endif
00115
00116
00117 #ifndef YY_BUF_SIZE
00118 #ifdef __ia64__
00119
00120
00121
00122
00123 #define YY_BUF_SIZE 32768
00124 #else
00125 #define YY_BUF_SIZE 16384
00126 #endif
00127 #endif
00128
00129 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
00130 #define YY_TYPEDEF_YY_BUFFER_STATE
00131 typedef struct yy_buffer_state *YY_BUFFER_STATE;
00132 #endif
00133
00134 extern int doleng;
00135
00136 extern FILE *doin, *doout;
00137
00138 #ifndef YY_TYPEDEF_YY_SIZE_T
00139 #define YY_TYPEDEF_YY_SIZE_T
00140 typedef size_t yy_size_t;
00141 #endif
00142
00143 #ifndef YY_STRUCT_YY_BUFFER_STATE
00144 #define YY_STRUCT_YY_BUFFER_STATE
00145 struct yy_buffer_state
00146 {
00147 FILE *yy_input_file;
00148
00149 char *yy_ch_buf;
00150 char *yy_buf_pos;
00151
00152
00153
00154
00155 yy_size_t yy_buf_size;
00156
00157
00158
00159
00160 int yy_n_chars;
00161
00162
00163
00164
00165
00166 int yy_is_our_buffer;
00167
00168
00169
00170
00171
00172
00173 int yy_is_interactive;
00174
00175
00176
00177
00178
00179 int yy_at_bol;
00180
00181 int yy_bs_lineno;
00182 int yy_bs_column;
00184
00185
00186
00187 int yy_fill_buffer;
00188
00189 int yy_buffer_status;
00190
00191 };
00192 #endif
00193
00194 void dorestart (FILE *input_file );
00195 void do_switch_to_buffer (YY_BUFFER_STATE new_buffer );
00196 YY_BUFFER_STATE do_create_buffer (FILE *file,int size );
00197 void do_delete_buffer (YY_BUFFER_STATE b );
00198 void do_flush_buffer (YY_BUFFER_STATE b );
00199 void dopush_buffer_state (YY_BUFFER_STATE new_buffer );
00200 void dopop_buffer_state (void );
00201
00202 YY_BUFFER_STATE do_scan_buffer (char *base,yy_size_t size );
00203 YY_BUFFER_STATE do_scan_string (yyconst char *yy_str );
00204 YY_BUFFER_STATE do_scan_bytes (yyconst char *bytes,int len );
00205
00206 void *doalloc (yy_size_t );
00207 void *dorealloc (void *,yy_size_t );
00208 void dofree (void * );
00209
00210
00211
00212 extern int dolineno;
00213
00214 extern char *dotext;
00215 #define yytext_ptr dotext
00216
00217 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
00218 #define INITIAL 0
00219
00220 #endif
00221
00222 #ifndef YY_NO_UNISTD_H
00223
00224
00225
00226
00227 #include <unistd.h>
00228 #endif
00229
00230 #ifndef YY_EXTRA_TYPE
00231 #define YY_EXTRA_TYPE void *
00232 #endif
00233
00234
00235
00236
00237 int dolex_destroy (void );
00238
00239 int doget_debug (void );
00240
00241 void doset_debug (int debug_flag );
00242
00243 YY_EXTRA_TYPE doget_extra (void );
00244
00245 void doset_extra (YY_EXTRA_TYPE user_defined );
00246
00247 FILE *doget_in (void );
00248
00249 void doset_in (FILE * in_str );
00250
00251 FILE *doget_out (void );
00252
00253 void doset_out (FILE * out_str );
00254
00255 int doget_leng (void );
00256
00257 char *doget_text (void );
00258
00259 int doget_lineno (void );
00260
00261 void doset_lineno (int line_number );
00262
00263
00264
00265
00266
00267 #ifndef YY_SKIP_YYWRAP
00268 #ifdef __cplusplus
00269 extern "C" int dowrap (void );
00270 #else
00271 extern int dowrap (void );
00272 #endif
00273 #endif
00274
00275 #ifndef yytext_ptr
00276 static void yy_flex_strncpy (char *,yyconst char *,int );
00277 #endif
00278
00279 #ifdef YY_NEED_STRLEN
00280 static int yy_flex_strlen (yyconst char * );
00281 #endif
00282
00283 #ifndef YY_NO_INPUT
00284
00285 #endif
00286
00287
00288 #ifndef YY_READ_BUF_SIZE
00289 #ifdef __ia64__
00290
00291 #define YY_READ_BUF_SIZE 16384
00292 #else
00293 #define YY_READ_BUF_SIZE 8192
00294 #endif
00295 #endif
00296
00297
00298 #ifndef YY_START_STACK_INCR
00299 #define YY_START_STACK_INCR 25
00300 #endif
00301
00302
00303
00304
00305 #ifndef YY_DECL
00306 #define YY_DECL_IS_OURS 1
00307
00308 extern int dolex (void);
00309
00310 #define YY_DECL int dolex (void)
00311 #endif
00312
00313
00314
00315 #undef YY_NEW_FILE
00316 #undef YY_FLUSH_BUFFER
00317 #undef yy_set_bol
00318 #undef yy_new_buffer
00319 #undef yy_set_interactive
00320 #undef YY_DO_BEFORE_ACTION
00321
00322 #ifdef YY_DECL_IS_OURS
00323 #undef YY_DECL_IS_OURS
00324 #undef YY_DECL
00325 #endif
00326
00327 #line 53 "do-lexer.l"
00328
00329
00330 #line 331 "do-lexer.h"
00331 #undef doIN_HEADER
00332 #endif