1 #ifndef xlu__disk_yyHEADER_H 2 #define xlu__disk_yyHEADER_H 1 3 #define xlu__disk_yyIN_HEADER 1 4 5 #line 6 "libxlu_disk_l.h" 6 #line 31 "libxlu_disk_l.l" 7 #include "libxl_osdeps.h" /* must come before any other headers */ 8 9 10 11 #line 12 "libxlu_disk_l.h" 12 13 #define YY_INT_ALIGNED short int 14 15 /* A lexical scanner generated by flex */ 16 17 #define FLEX_SCANNER 18 #define YY_FLEX_MAJOR_VERSION 2 19 #define YY_FLEX_MINOR_VERSION 5 20 #define YY_FLEX_SUBMINOR_VERSION 39 21 #if YY_FLEX_SUBMINOR_VERSION > 0 22 #define FLEX_BETA 23 #endif 24 25 /* First, we deal with platform-specific or compiler-specific issues. */ 26 27 /* begin standard C headers. */ 28 #include <stdio.h> 29 #include <string.h> 30 #include <errno.h> 31 #include <stdlib.h> 32 33 /* end standard C headers. */ 34 35 /* flex integer type definitions */ 36 37 #ifndef FLEXINT_H 38 #define FLEXINT_H 39 40 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ 41 42 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 43 44 /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, 45 * if you want the limit (max/min) macros for int types. 46 */ 47 #ifndef __STDC_LIMIT_MACROS 48 #define __STDC_LIMIT_MACROS 1 49 #endif 50 51 #include <inttypes.h> 52 typedef int8_t flex_int8_t; 53 typedef uint8_t flex_uint8_t; 54 typedef int16_t flex_int16_t; 55 typedef uint16_t flex_uint16_t; 56 typedef int32_t flex_int32_t; 57 typedef uint32_t flex_uint32_t; 58 #else 59 typedef signed char flex_int8_t; 60 typedef short int flex_int16_t; 61 typedef int flex_int32_t; 62 typedef unsigned char flex_uint8_t; 63 typedef unsigned short int flex_uint16_t; 64 typedef unsigned int flex_uint32_t; 65 66 /* Limits of integral types. */ 67 #ifndef INT8_MIN 68 #define INT8_MIN (-128) 69 #endif 70 #ifndef INT16_MIN 71 #define INT16_MIN (-32767-1) 72 #endif 73 #ifndef INT32_MIN 74 #define INT32_MIN (-2147483647-1) 75 #endif 76 #ifndef INT8_MAX 77 #define INT8_MAX (127) 78 #endif 79 #ifndef INT16_MAX 80 #define INT16_MAX (32767) 81 #endif 82 #ifndef INT32_MAX 83 #define INT32_MAX (2147483647) 84 #endif 85 #ifndef UINT8_MAX 86 #define UINT8_MAX (255U) 87 #endif 88 #ifndef UINT16_MAX 89 #define UINT16_MAX (65535U) 90 #endif 91 #ifndef UINT32_MAX 92 #define UINT32_MAX (4294967295U) 93 #endif 94 95 #endif /* ! C99 */ 96 97 #endif /* ! FLEXINT_H */ 98 99 #ifdef __cplusplus 100 101 /* The "const" storage-class-modifier is valid. */ 102 #define YY_USE_CONST 103 104 #else /* ! __cplusplus */ 105 106 /* C99 requires __STDC__ to be defined as 1. */ 107 #if defined (__STDC__) 108 109 #define YY_USE_CONST 110 111 #endif /* defined (__STDC__) */ 112 #endif /* ! __cplusplus */ 113 114 #ifdef YY_USE_CONST 115 #define yyconst const 116 #else 117 #define yyconst 118 #endif 119 120 /* An opaque pointer. */ 121 #ifndef YY_TYPEDEF_YY_SCANNER_T 122 #define YY_TYPEDEF_YY_SCANNER_T 123 typedef void* yyscan_t; 124 #endif 125 126 /* For convenience, these vars (plus the bison vars far below) 127 are macros in the reentrant scanner. */ 128 #define yyin yyg->yyin_r 129 #define yyout yyg->yyout_r 130 #define yyextra yyg->yyextra_r 131 #define yyleng yyg->yyleng_r 132 #define yytext yyg->yytext_r 133 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 134 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 135 #define yy_flex_debug yyg->yy_flex_debug_r 136 137 /* Size of default input buffer. */ 138 #ifndef YY_BUF_SIZE 139 #ifdef __ia64__ 140 /* On IA-64, the buffer size is 16k, not 8k. 141 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. 142 * Ditto for the __ia64__ case accordingly. 143 */ 144 #define YY_BUF_SIZE 32768 145 #else 146 #define YY_BUF_SIZE 16384 147 #endif /* __ia64__ */ 148 #endif 149 150 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 151 #define YY_TYPEDEF_YY_BUFFER_STATE 152 typedef struct yy_buffer_state *YY_BUFFER_STATE; 153 #endif 154 155 #ifndef YY_TYPEDEF_YY_SIZE_T 156 #define YY_TYPEDEF_YY_SIZE_T 157 typedef size_t yy_size_t; 158 #endif 159 160 #ifndef YY_STRUCT_YY_BUFFER_STATE 161 #define YY_STRUCT_YY_BUFFER_STATE 162 struct yy_buffer_state 163 { 164 FILE *yy_input_file; 165 166 char *yy_ch_buf; /* input buffer */ 167 char *yy_buf_pos; /* current position in input buffer */ 168 169 /* Size of input buffer in bytes, not including room for EOB 170 * characters. 171 */ 172 yy_size_t yy_buf_size; 173 174 /* Number of characters read into yy_ch_buf, not including EOB 175 * characters. 176 */ 177 yy_size_t yy_n_chars; 178 179 /* Whether we "own" the buffer - i.e., we know we created it, 180 * and can realloc() it to grow it, and should free() it to 181 * delete it. 182 */ 183 int yy_is_our_buffer; 184 185 /* Whether this is an "interactive" input source; if so, and 186 * if we're using stdio for input, then we want to use getc() 187 * instead of fread(), to make sure we stop fetching input after 188 * each newline. 189 */ 190 int yy_is_interactive; 191 192 /* Whether we're considered to be at the beginning of a line. 193 * If so, '^' rules will be active on the next match, otherwise 194 * not. 195 */ 196 int yy_at_bol; 197 198 int yy_bs_lineno; /**< The line count. */ 199 int yy_bs_column; /**< The column count. */ 200 201 /* Whether to try to fill the input buffer when we reach the 202 * end of it. 203 */ 204 int yy_fill_buffer; 205 206 int yy_buffer_status; 207 208 }; 209 #endif /* !YY_STRUCT_YY_BUFFER_STATE */ 210 211 void xlu__disk_yyrestart (FILE *input_file ,yyscan_t yyscanner ); 212 void xlu__disk_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner ); 213 YY_BUFFER_STATE xlu__disk_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner ); 214 void xlu__disk_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner ); 215 void xlu__disk_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner ); 216 void xlu__disk_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner ); 217 void xlu__disk_yypop_buffer_state (yyscan_t yyscanner ); 218 219 YY_BUFFER_STATE xlu__disk_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner ); 220 YY_BUFFER_STATE xlu__disk_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner ); 221 YY_BUFFER_STATE xlu__disk_yy_scan_bytes (yyconst char *bytes,yy_size_t len ,yyscan_t yyscanner ); 222 223 void *xlu__disk_yyalloc (yy_size_t ,yyscan_t yyscanner ); 224 void *xlu__disk_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner ); 225 void xlu__disk_yyfree (void * ,yyscan_t yyscanner ); 226 227 #define xlu__disk_yywrap(yyscanner) 1 228 #define YY_SKIP_YYWRAP 229 230 #define yytext_ptr yytext_r 231 232 #ifdef YY_HEADER_EXPORT_START_CONDITIONS 233 #define INITIAL 0 234 #define LEXERR 1 235 236 #endif 237 238 #ifndef YY_NO_UNISTD_H 239 /* Special case for "unistd.h", since it is non-ANSI. We include it way 240 * down here because we want the user's section 1 to have been scanned first. 241 * The user has a chance to override it with an option. 242 */ 243 #include <unistd.h> 244 #endif 245 246 #ifndef YY_EXTRA_TYPE 247 #define YY_EXTRA_TYPE void * 248 #endif 249 250 int xlu__disk_yylex_init (yyscan_t* scanner); 251 252 int xlu__disk_yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner); 253 254 /* Accessor methods to globals. 255 These are made visible to non-reentrant scanners for convenience. */ 256 257 int xlu__disk_yylex_destroy (yyscan_t yyscanner ); 258 259 int xlu__disk_yyget_debug (yyscan_t yyscanner ); 260 261 void xlu__disk_yyset_debug (int debug_flag ,yyscan_t yyscanner ); 262 263 YY_EXTRA_TYPE xlu__disk_yyget_extra (yyscan_t yyscanner ); 264 265 void xlu__disk_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner ); 266 267 FILE *xlu__disk_yyget_in (yyscan_t yyscanner ); 268 269 void xlu__disk_yyset_in (FILE * in_str ,yyscan_t yyscanner ); 270 271 FILE *xlu__disk_yyget_out (yyscan_t yyscanner ); 272 273 void xlu__disk_yyset_out (FILE * out_str ,yyscan_t yyscanner ); 274 275 yy_size_t xlu__disk_yyget_leng (yyscan_t yyscanner ); 276 277 char *xlu__disk_yyget_text (yyscan_t yyscanner ); 278 279 int xlu__disk_yyget_lineno (yyscan_t yyscanner ); 280 281 void xlu__disk_yyset_lineno (int line_number ,yyscan_t yyscanner ); 282 283 int xlu__disk_yyget_column (yyscan_t yyscanner ); 284 285 void xlu__disk_yyset_column (int column_no ,yyscan_t yyscanner ); 286 287 /* Macros after this point can all be overridden by user definitions in 288 * section 1. 289 */ 290 291 #ifndef YY_SKIP_YYWRAP 292 #ifdef __cplusplus 293 extern "C" int xlu__disk_yywrap (yyscan_t yyscanner ); 294 #else 295 extern int xlu__disk_yywrap (yyscan_t yyscanner ); 296 #endif 297 #endif 298 299 #ifndef yytext_ptr 300 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner); 301 #endif 302 303 #ifdef YY_NEED_STRLEN 304 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner); 305 #endif 306 307 #ifndef YY_NO_INPUT 308 309 #endif 310 311 /* Amount of stuff to slurp up with each read. */ 312 #ifndef YY_READ_BUF_SIZE 313 #ifdef __ia64__ 314 /* On IA-64, the buffer size is 16k, not 8k */ 315 #define YY_READ_BUF_SIZE 16384 316 #else 317 #define YY_READ_BUF_SIZE 8192 318 #endif /* __ia64__ */ 319 #endif 320 321 /* Number of entries by which start-condition stack grows. */ 322 #ifndef YY_START_STACK_INCR 323 #define YY_START_STACK_INCR 25 324 #endif 325 326 /* Default declaration of generated scanner - a define so the user can 327 * easily add parameters. 328 */ 329 #ifndef YY_DECL 330 #define YY_DECL_IS_OURS 1 331 332 extern int xlu__disk_yylex (yyscan_t yyscanner); 333 334 #define YY_DECL int xlu__disk_yylex (yyscan_t yyscanner) 335 #endif /* !YY_DECL */ 336 337 /* yy_get_previous_state - get the state just before the EOB char was reached */ 338 339 #undef YY_NEW_FILE 340 #undef YY_FLUSH_BUFFER 341 #undef yy_set_bol 342 #undef yy_new_buffer 343 #undef yy_set_interactive 344 #undef YY_DO_BEFORE_ACTION 345 346 #ifdef YY_DECL_IS_OURS 347 #undef YY_DECL_IS_OURS 348 #undef YY_DECL 349 #endif 350 351 #line 278 "libxlu_disk_l.l" 352 353 #line 354 "libxlu_disk_l.h" 354 #undef xlu__disk_yyIN_HEADER 355 #endif /* xlu__disk_yyHEADER_H */ 356