00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef libconfig_yyHEADER_H
00021 #define libconfig_yyHEADER_H 1
00022 #define libconfig_yyIN_HEADER 1
00023
00024 #line 6 "scanner.h"
00025
00026 #line 8 "scanner.h"
00027
00028 #define YY_INT_ALIGNED short int
00029
00030
00031
00032 #define FLEX_SCANNER
00033 #define YY_FLEX_MAJOR_VERSION 2
00034 #define YY_FLEX_MINOR_VERSION 5
00035 #define YY_FLEX_SUBMINOR_VERSION 33
00036 #if YY_FLEX_SUBMINOR_VERSION > 0
00037 #define FLEX_BETA
00038 #endif
00039
00040
00041
00042
00043 #include <stdio.h>
00044 #include <string.h>
00045 #include <errno.h>
00046 #include <stdlib.h>
00047
00048
00049
00050
00051
00052 #ifndef FLEXINT_H
00053 #define FLEXINT_H
00054
00055
00056
00057 #if __STDC_VERSION__ >= 199901L
00058
00059
00060
00061
00062 #ifndef __STDC_LIMIT_MACROS
00063 #define __STDC_LIMIT_MACROS 1
00064 #endif
00065
00066 #include <inttypes.h>
00067 typedef int8_t flex_int8_t;
00068 typedef uint8_t flex_uint8_t;
00069 typedef int16_t flex_int16_t;
00070 typedef uint16_t flex_uint16_t;
00071 typedef int32_t flex_int32_t;
00072 typedef uint32_t flex_uint32_t;
00073 #else
00074 typedef signed char flex_int8_t;
00075 typedef short int flex_int16_t;
00076 typedef int flex_int32_t;
00077 typedef unsigned char flex_uint8_t;
00078 typedef unsigned short int flex_uint16_t;
00079 typedef unsigned int flex_uint32_t;
00080 #endif
00081
00082
00083 #ifndef INT8_MIN
00084 #define INT8_MIN (-128)
00085 #endif
00086 #ifndef INT16_MIN
00087 #define INT16_MIN (-32767-1)
00088 #endif
00089 #ifndef INT32_MIN
00090 #define INT32_MIN (-2147483647-1)
00091 #endif
00092 #ifndef INT8_MAX
00093 #define INT8_MAX (127)
00094 #endif
00095 #ifndef INT16_MAX
00096 #define INT16_MAX (32767)
00097 #endif
00098 #ifndef INT32_MAX
00099 #define INT32_MAX (2147483647)
00100 #endif
00101 #ifndef UINT8_MAX
00102 #define UINT8_MAX (255U)
00103 #endif
00104 #ifndef UINT16_MAX
00105 #define UINT16_MAX (65535U)
00106 #endif
00107 #ifndef UINT32_MAX
00108 #define UINT32_MAX (4294967295U)
00109 #endif
00110
00111 #endif
00112
00113 #ifdef __cplusplus
00114
00115
00116 #define YY_USE_CONST
00117
00118 #else
00119
00120 #if __STDC__
00121
00122 #define YY_USE_CONST
00123
00124 #endif
00125 #endif
00126
00127 #ifdef YY_USE_CONST
00128 #define yyconst const
00129 #else
00130 #define yyconst
00131 #endif
00132
00133
00134 #ifndef YY_TYPEDEF_YY_SCANNER_T
00135 #define YY_TYPEDEF_YY_SCANNER_T
00136 typedef void* yyscan_t;
00137 #endif
00138
00139
00140
00141 #define yyin yyg->yyin_r
00142 #define yyout yyg->yyout_r
00143 #define yyextra yyg->yyextra_r
00144 #define yyleng yyg->yyleng_r
00145 #define yytext yyg->yytext_r
00146 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
00147 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
00148 #define yy_flex_debug yyg->yy_flex_debug_r
00149
00150 int libconfig_yylex_init (yyscan_t* scanner);
00151
00152 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
00153 #define YY_TYPEDEF_YY_BUFFER_STATE
00154 typedef struct yy_buffer_state *YY_BUFFER_STATE;
00155 #endif
00156
00157
00158
00159
00160
00161
00162 #ifndef YY_TYPEDEF_YY_SIZE_T
00163 #define YY_TYPEDEF_YY_SIZE_T
00164 typedef unsigned int yy_size_t;
00165 #endif
00166
00167 #ifndef YY_STRUCT_YY_BUFFER_STATE
00168 #define YY_STRUCT_YY_BUFFER_STATE
00169 struct yy_buffer_state
00170 {
00171 FILE *yy_input_file;
00172
00173 char *yy_ch_buf;
00174 char *yy_buf_pos;
00175
00176
00177
00178
00179 yy_size_t yy_buf_size;
00180
00181
00182
00183
00184 int yy_n_chars;
00185
00186
00187
00188
00189
00190 int yy_is_our_buffer;
00191
00192
00193
00194
00195
00196
00197 int yy_is_interactive;
00198
00199
00200
00201
00202
00203 int yy_at_bol;
00204
00205 int yy_bs_lineno;
00206 int yy_bs_column;
00208
00209
00210
00211 int yy_fill_buffer;
00212
00213 int yy_buffer_status;
00214
00215 };
00216 #endif
00217
00218 void libconfig_yyrestart (FILE *input_file ,yyscan_t yyscanner );
00219 void libconfig_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
00220 YY_BUFFER_STATE libconfig_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
00221 void libconfig_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
00222 void libconfig_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
00223 void libconfig_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
00224 void libconfig_yypop_buffer_state (yyscan_t yyscanner );
00225
00226 YY_BUFFER_STATE libconfig_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
00227 YY_BUFFER_STATE libconfig_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
00228 YY_BUFFER_STATE libconfig_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
00229
00230 void *libconfig_yyalloc (yy_size_t ,yyscan_t yyscanner );
00231 void *libconfig_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
00232 void libconfig_yyfree (void * ,yyscan_t yyscanner );
00233
00234 #define libconfig_yywrap(n) 1
00235 #define YY_SKIP_YYWRAP
00236
00237 #define yytext_ptr yytext_r
00238
00239 #ifdef YY_HEADER_EXPORT_START_CONDITIONS
00240 #define INITIAL 0
00241 #define COMMENT 1
00242
00243 #endif
00244
00245 #ifndef YY_EXTRA_TYPE
00246 #define YY_EXTRA_TYPE void *
00247 #endif
00248
00249
00250
00251
00252 int libconfig_yylex_destroy (yyscan_t yyscanner );
00253
00254 int libconfig_yyget_debug (yyscan_t yyscanner );
00255
00256 void libconfig_yyset_debug (int debug_flag ,yyscan_t yyscanner );
00257
00258 YY_EXTRA_TYPE libconfig_yyget_extra (yyscan_t yyscanner );
00259
00260 void libconfig_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
00261
00262 FILE *libconfig_yyget_in (yyscan_t yyscanner );
00263
00264 void libconfig_yyset_in (FILE * in_str ,yyscan_t yyscanner );
00265
00266 FILE *libconfig_yyget_out (yyscan_t yyscanner );
00267
00268 void libconfig_yyset_out (FILE * out_str ,yyscan_t yyscanner );
00269
00270 int libconfig_yyget_leng (yyscan_t yyscanner );
00271
00272 char *libconfig_yyget_text (yyscan_t yyscanner );
00273
00274 int libconfig_yyget_lineno (yyscan_t yyscanner );
00275
00276 void libconfig_yyset_lineno (int line_number ,yyscan_t yyscanner );
00277
00278 YYSTYPE * libconfig_yyget_lval (yyscan_t yyscanner );
00279
00280 void libconfig_yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
00281
00282
00283
00284
00285
00286 #ifndef YY_SKIP_YYWRAP
00287 #ifdef __cplusplus
00288 extern "C" int libconfig_yywrap (yyscan_t yyscanner );
00289 #else
00290 extern int libconfig_yywrap (yyscan_t yyscanner );
00291 #endif
00292 #endif
00293
00294 #ifndef yytext_ptr
00295 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
00296 #endif
00297
00298 #ifdef YY_NEED_STRLEN
00299 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
00300 #endif
00301
00302 #ifndef YY_NO_INPUT
00303
00304 #endif
00305
00306
00307 #ifndef YY_READ_BUF_SIZE
00308 #define YY_READ_BUF_SIZE 8192
00309 #endif
00310
00311
00312 #ifndef YY_START_STACK_INCR
00313 #define YY_START_STACK_INCR 25
00314 #endif
00315
00316
00317
00318
00319 #ifndef YY_DECL
00320 #define YY_DECL_IS_OURS 1
00321
00322 extern int libconfig_yylex (YYSTYPE * yylval_param ,yyscan_t yyscanner);
00323
00324 #define YY_DECL int libconfig_yylex (YYSTYPE * yylval_param , yyscan_t yyscanner)
00325 #endif
00326
00327
00328
00329 #undef YY_NEW_FILE
00330 #undef YY_FLUSH_BUFFER
00331 #undef yy_set_bol
00332 #undef yy_new_buffer
00333 #undef yy_set_interactive
00334 #undef YY_DO_BEFORE_ACTION
00335
00336 #ifdef YY_DECL_IS_OURS
00337 #undef YY_DECL_IS_OURS
00338 #undef YY_DECL
00339 #endif
00340
00341 #line 130 "scanner.l"
00342
00343 #line 325 "scanner.h"
00344 #undef libconfig_yyIN_HEADER
00345 #endif