Changeset 472
- Timestamp:
- 04/04/06 17:04:56 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
nepenthes/trunk/modules/shellcode-signatures/lex.yy.c
r464 r472 1 2 #line 3 "lex.yy.c" 3 4 #define YY_INT_ALIGNED short int 5 1 6 /* A lexical scanner generated by flex */ 2 3 /* Scanner skeleton version:4 * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $5 */6 7 7 8 #define FLEX_SCANNER 8 9 #define YY_FLEX_MAJOR_VERSION 2 9 10 #define YY_FLEX_MINOR_VERSION 5 10 11 #define YY_FLEX_SUBMINOR_VERSION 31 12 #if YY_FLEX_SUBMINOR_VERSION > 0 13 #define FLEX_BETA 14 #endif 15 16 /* First, we deal with platform-specific or compiler-specific issues. */ 17 18 /* begin standard C headers. */ 11 19 #include <stdio.h> 12 #include <unistd.h> 13 14 15 /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ 16 #ifdef c_plusplus 17 #ifndef __cplusplus 18 #define __cplusplus 19 #endif 20 #endif 21 20 #include <string.h> 21 #include <errno.h> 22 #include <stdlib.h> 23 24 /* end standard C headers. */ 25 26 /* flex integer type definitions */ 27 28 #ifndef FLEXINT_H 29 #define FLEXINT_H 30 31 /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ 32 33 #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L 34 #include <inttypes.h> 35 typedef int8_t flex_int8_t; 36 typedef uint8_t flex_uint8_t; 37 typedef int16_t flex_int16_t; 38 typedef uint16_t flex_uint16_t; 39 typedef int32_t flex_int32_t; 40 typedef uint32_t flex_uint32_t; 41 #else 42 typedef signed char flex_int8_t; 43 typedef short int flex_int16_t; 44 typedef int flex_int32_t; 45 typedef unsigned char flex_uint8_t; 46 typedef unsigned short int flex_uint16_t; 47 typedef unsigned int flex_uint32_t; 48 #endif /* ! C99 */ 49 50 /* Limits of integral types. */ 51 #ifndef INT8_MIN 52 #define INT8_MIN (-128) 53 #endif 54 #ifndef INT16_MIN 55 #define INT16_MIN (-32767-1) 56 #endif 57 #ifndef INT32_MIN 58 #define INT32_MIN (-2147483647-1) 59 #endif 60 #ifndef INT8_MAX 61 #define INT8_MAX (127) 62 #endif 63 #ifndef INT16_MAX 64 #define INT16_MAX (32767) 65 #endif 66 #ifndef INT32_MAX 67 #define INT32_MAX (2147483647) 68 #endif 69 #ifndef UINT8_MAX 70 #define UINT8_MAX (255U) 71 #endif 72 #ifndef UINT16_MAX 73 #define UINT16_MAX (65535U) 74 #endif 75 #ifndef UINT32_MAX 76 #define UINT32_MAX (4294967295U) 77 #endif 78 79 #endif /* ! FLEXINT_H */ 22 80 23 81 #ifdef __cplusplus 24 25 #include <stdlib.h>26 27 /* Use prototypes in function declarations. */28 #define YY_USE_PROTOS29 82 30 83 /* The "const" storage-class-modifier is valid. */ … … 35 88 #if __STDC__ 36 89 37 #define YY_USE_PROTOS38 90 #define YY_USE_CONST 39 91 40 92 #endif /* __STDC__ */ 41 93 #endif /* ! __cplusplus */ 42 43 #ifdef __TURBOC__44 #pragma warn -rch45 #pragma warn -use46 #include <io.h>47 #include <stdlib.h>48 #define YY_USE_CONST49 #define YY_USE_PROTOS50 #endif51 94 52 95 #ifdef YY_USE_CONST … … 56 99 #endif 57 100 58 59 #ifdef YY_USE_PROTOS60 #define YY_PROTO(proto) proto61 #else62 #define YY_PROTO(proto) ()63 #endif64 65 101 /* Returned upon end-of-file. */ 66 102 #define YY_NULL 0 … … 77 113 * definition of BEGIN. 78 114 */ 79 #define BEGIN yy_start= 1 + 2 *115 #define BEGIN (yy_start) = 1 + 2 * 80 116 81 117 /* Translate the current start state into a value that can be later handed … … 83 119 * compatibility. 84 120 */ 85 #define YY_START (( yy_start- 1) / 2)121 #define YY_START (((yy_start) - 1) / 2) 86 122 #define YYSTATE YY_START 87 123 … … 90 126 91 127 /* Special action meaning "start processing a new file". */ 92 #define YY_NEW_FILE yyrestart( yyin)128 #define YY_NEW_FILE yyrestart(yyin ) 93 129 94 130 #define YY_END_OF_BUFFER_CHAR 0 95 131 96 132 /* Size of default input buffer. */ 133 #ifndef YY_BUF_SIZE 97 134 #define YY_BUF_SIZE 16384 98 135 #endif 136 137 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 138 #define YY_TYPEDEF_YY_BUFFER_STATE 99 139 typedef struct yy_buffer_state *YY_BUFFER_STATE; 140 #endif 100 141 101 142 extern int yyleng; 143 102 144 extern FILE *yyin, *yyout; 103 145 … … 106 148 #define EOB_ACT_LAST_MATCH 2 107 149 108 /* The funky do-while in the following #define is used to turn the definition 109 * int a single C statement (which needs a semi-colon terminator). This 110 * avoids problems with code like: 111 * 112 * if ( condition_holds ) 113 * yyless( 5 ); 114 * else 115 * do_something_else(); 116 * 117 * Prior to using the do-while the compiler would get upset at the 118 * "else" because it interpreted the "if" statement as being all 119 * done when it reached the ';' after the yyless() call. 120 */ 121 122 /* Return all but the first 'n' matched characters back to the input stream. */ 123 150 #define YY_LESS_LINENO(n) 151 152 /* Return all but the first "n" matched characters back to the input stream. */ 124 153 #define yyless(n) \ 125 154 do \ 126 155 { \ 127 156 /* Undo effects of setting up yytext. */ \ 128 *yy_cp = yy_hold_char; \ 157 int yyless_macro_arg = (n); \ 158 YY_LESS_LINENO(yyless_macro_arg);\ 159 *yy_cp = (yy_hold_char); \ 129 160 YY_RESTORE_YY_MORE_OFFSET \ 130 yy_c_buf_p = yy_cp = yy_bp + n- YY_MORE_ADJ; \161 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 131 162 YY_DO_BEFORE_ACTION; /* set up yytext again */ \ 132 163 } \ 133 164 while ( 0 ) 134 165 135 #define unput(c) yyunput( c, yytext_ptr)166 #define unput(c) yyunput( c, (yytext_ptr) ) 136 167 137 168 /* The following is because we cannot portably get our hands on size_t … … 139 170 * flex-generated scanners to compile on their own). 140 171 */ 172 173 #ifndef YY_TYPEDEF_YY_SIZE_T 174 #define YY_TYPEDEF_YY_SIZE_T 141 175 typedef unsigned int yy_size_t; 142 143 176 #endif 177 178 #ifndef YY_STRUCT_YY_BUFFER_STATE 179 #define YY_STRUCT_YY_BUFFER_STATE 144 180 struct yy_buffer_state 145 181 { … … 178 214 int yy_at_bol; 179 215 216 int yy_bs_lineno; /**< The line count. */ 217 int yy_bs_column; /**< The column count. */ 218 180 219 /* Whether to try to fill the input buffer when we reach the 181 220 * end of it. … … 184 223 185 224 int yy_buffer_status; 225 186 226 #define YY_BUFFER_NEW 0 187 227 #define YY_BUFFER_NORMAL 1 … … 197 237 */ 198 238 #define YY_BUFFER_EOF_PENDING 2 239 199 240 }; 200 201 static YY_BUFFER_STATE yy_current_buffer = 0; 241 #endif /* !YY_STRUCT_YY_BUFFER_STATE */ 242 243 /* Stack of input buffers. */ 244 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ 245 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ 246 static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ 202 247 203 248 /* We provide macros for accessing buffer states in case in the 204 249 * future we want to put the buffer states in a more general 205 250 * "scanner state". 206 */ 207 #define YY_CURRENT_BUFFER yy_current_buffer 208 251 * 252 * Returns the top of the stack, or NULL. 253 */ 254 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ 255 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ 256 : NULL) 257 258 /* Same as previous macro, but useful when we know that the buffer stack is not 259 * NULL or when we need an lvalue. For internal use only. 260 */ 261 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] 209 262 210 263 /* yy_hold_char holds the character lost when yytext is formed. */ 211 264 static char yy_hold_char; 212 213 265 static int yy_n_chars; /* number of characters read into yy_ch_buf */ 214 215 216 266 int yyleng; 217 267 … … 226 276 static int yy_did_buffer_switch_on_eof; 227 277 228 void yyrestart YY_PROTO(( FILE *input_file )); 229 230 void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); 231 void yy_load_buffer_state YY_PROTO(( void )); 232 YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); 233 void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); 234 void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); 235 void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); 236 #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) 237 238 YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); 239 YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); 240 YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); 241 242 static void *yy_flex_alloc YY_PROTO(( yy_size_t )); 243 static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )); 244 static void yy_flex_free YY_PROTO(( void * )); 278 void yyrestart (FILE *input_file ); 279 void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); 280 YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); 281 void yy_delete_buffer (YY_BUFFER_STATE b ); 282 void yy_flush_buffer (YY_BUFFER_STATE b ); 283 void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); 284 void yypop_buffer_state (void ); 285 286 static void yyensure_buffer_stack (void ); 287 static void yy_load_buffer_state (void ); 288 static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); 289 290 #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) 291 292 YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); 293 YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); 294 YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); 295 296 void *yyalloc (yy_size_t ); 297 void *yyrealloc (void *,yy_size_t ); 298 void yyfree (void * ); 245 299 246 300 #define yy_new_buffer yy_create_buffer … … 248 302 #define yy_set_interactive(is_interactive) \ 249 303 { \ 250 if ( ! yy_current_buffer ) \ 251 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 252 yy_current_buffer->yy_is_interactive = is_interactive; \ 304 if ( ! YY_CURRENT_BUFFER ){ \ 305 yyensure_buffer_stack (); \ 306 YY_CURRENT_BUFFER_LVALUE = \ 307 yy_create_buffer(yyin,YY_BUF_SIZE ); \ 308 } \ 309 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 253 310 } 254 311 255 312 #define yy_set_bol(at_bol) \ 256 313 { \ 257 if ( ! yy_current_buffer ) \ 258 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ 259 yy_current_buffer->yy_at_bol = at_bol; \ 314 if ( ! YY_CURRENT_BUFFER ){\ 315 yyensure_buffer_stack (); \ 316 YY_CURRENT_BUFFER_LVALUE = \ 317 yy_create_buffer(yyin,YY_BUF_SIZE ); \ 318 } \ 319 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 260 320 } 261 321 262 #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) 322 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 323 324 /* Begin user sect3 */ 263 325 264 326 typedef unsigned char YY_CHAR; 327 265 328 FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; 329 266 330 typedef int yy_state_type; 331 332 extern int yylineno; 333 334 int yylineno = 1; 335 267 336 extern char *yytext; 268 337 #define yytext_ptr yytext 269 338 270 static yy_state_type yy_get_previous_state YY_PROTO(( void ));271 static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));272 static int yy_get_next_buffer YY_PROTO(( void ));273 static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));339 static yy_state_type yy_get_previous_state (void ); 340 static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); 341 static int yy_get_next_buffer (void ); 342 static void yy_fatal_error (yyconst char msg[] ); 274 343 275 344 /* Done after the current pattern has been matched and before the … … 277 346 */ 278 347 #define YY_DO_BEFORE_ACTION \ 279 yytext_ptr= yy_bp; \280 yyleng = ( int) (yy_cp - yy_bp); \281 yy_hold_char= *yy_cp; \348 (yytext_ptr) = yy_bp; \ 349 yyleng = (size_t) (yy_cp - yy_bp); \ 350 (yy_hold_char) = *yy_cp; \ 282 351 *yy_cp = '\0'; \ 283 yy_c_buf_p= yy_cp;352 (yy_c_buf_p) = yy_cp; 284 353 285 354 #define YY_NUM_RULES 59 286 355 #define YY_END_OF_BUFFER 60 287 static yyconst short int yy_accept[219] = 356 /* This struct is not used in this scanner, 357 but its presence is necessary. */ 358 struct yy_trans_info 359 { 360 flex_int32_t yy_verify; 361 flex_int32_t yy_nxt; 362 }; 363 static yyconst flex_int16_t yy_accept[222] = 288 364 { 0, 289 365 56, 56, 40, 40, 53, 53, 60, 58, 56, 57, … … 295 371 38, 38, 38, 38, 38, 38, 38, 40, 42, 41, 296 372 53, 49, 50, 51, 46, 47, 48, 0, 55, 38, 297 38, 38, 38, 38, 38, 38, 38, 28, 38, 38,373 38, 38, 38, 38, 38, 38, 38, 38, 28, 38, 298 374 38, 38, 38, 38, 38, 38, 38, 36, 38, 38, 299 375 300 376 38, 34, 22, 13, 0, 38, 38, 38, 38, 38, 301 38, 38, 3 1, 38, 38, 38, 38, 12, 38, 35,377 38, 38, 38, 31, 38, 38, 38, 38, 12, 38, 302 378 32, 37, 29, 38, 9, 52, 38, 38, 38, 38, 303 38, 38, 38, 11, 38, 38, 38, 38, 38, 38, 304 38, 38, 38, 24, 38, 38, 38, 38, 38, 38, 305 38, 38, 38, 38, 38, 38, 38, 38, 27, 38, 306 38, 33, 38, 38, 20, 25, 38, 38, 14, 10, 307 8, 26, 38, 38, 38, 38, 21, 38, 38, 38, 308 38, 17, 38, 38, 38, 38, 38, 38, 38, 38, 309 30, 38, 38, 15, 16, 38, 38, 38, 38, 38, 310 311 38, 38, 38, 38, 38, 38, 38, 23, 38, 18, 312 38, 38, 38, 38, 38, 38, 19, 0 379 38, 38, 38, 38, 11, 38, 38, 38, 38, 38, 380 38, 38, 38, 38, 24, 38, 38, 38, 38, 38, 381 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 382 27, 38, 38, 33, 38, 35, 38, 20, 25, 38, 383 38, 14, 10, 8, 26, 38, 38, 38, 38, 21, 384 38, 38, 38, 38, 17, 38, 38, 38, 38, 38, 385 38, 38, 38, 30, 38, 38, 15, 16, 38, 38, 386 387 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 388 23, 38, 18, 38, 38, 38, 38, 38, 38, 19, 389 0 313 390 } ; 314 391 315 static yyconst int yy_ec[256] =392 static yyconst flex_int32_t yy_ec[256] = 316 393 { 0, 317 394 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, … … 345 422 } ; 346 423 347 static yyconst int yy_meta[48] =424 static yyconst flex_int32_t yy_meta[48] = 348 425 { 0, 349 426 1, 1, 2, 1, 1, 3, 1, 1, 4, 1, … … 354 431 } ; 355 432 356 static yyconst short int yy_base[227] =433 static yyconst flex_int16_t yy_base[230] = 357 434 { 0, 358 0, 0, 45, 46, 44, 45, 26 3, 264, 54, 264,359 26 4, 264, 264, 264, 51, 264, 264, 0, 31, 227,360 226, 217, 227, 223, 31, 37, 235, 221, 46, 39,361 21 1, 217, 218, 264, 264, 0, 264, 62, 0, 264,362 6 6, 72, 264, 0, 0, 214, 217, 51, 208, 223,363 226, 2 09, 202, 211, 214, 209, 206, 207, 201, 202,364 5 0, 212, 192, 213, 199, 50, 197, 0, 80, 264,365 0, 26 4, 264, 264, 264, 264, 264, 0, 0, 207,366 2 07, 198, 196, 195, 204, 199, 187, 0, 187, 191,367 19 2, 186, 195, 181, 193, 179, 178, 0, 190, 184,368 369 1 88, 0, 0, 0, 0, 198, 63, 190, 185, 178,370 1 69, 170, 176, 167, 182, 161, 173, 0, 176, 0,371 17 0, 0, 170, 173, 0, 264, 184, 167, 167, 161,372 17 0, 158, 153, 0, 165, 168, 167, 153, 153, 149,373 15 9, 150, 139, 0, 150, 155, 155, 140, 156, 151,374 1 32, 141, 150, 136, 144, 137, 126, 128, 0, 142,375 135, 0, 143, 140, 0, 0, 119, 134, 0,0,376 0, 0, 136, 122, 128, 137, 0, 115, 114, 119,377 11 8, 0, 130, 118, 117, 112, 128, 118, 111, 110,378 0, 112, 66, 0, 0, 107, 114, 114, 115, 105,379 380 1 06, 101, 99, 76, 70, 67, 70, 0, 62, 0,381 76, 63, 58, 68, 68, 55, 0, 264, 109, 115,382 117, 123, 129, 135, 70, 47435 0, 0, 45, 46, 44, 45, 266, 267, 54, 267, 436 267, 267, 267, 267, 51, 267, 267, 0, 31, 230, 437 31, 221, 231, 227, 37, 41, 239, 225, 46, 39, 438 215, 221, 222, 267, 267, 0, 267, 64, 0, 267, 439 64, 83, 267, 0, 0, 218, 221, 44, 230, 211, 440 226, 229, 212, 205, 214, 217, 212, 209, 210, 204, 441 52, 216, 196, 217, 203, 50, 201, 0, 82, 267, 442 0, 267, 267, 267, 267, 267, 267, 0, 0, 211, 443 211, 202, 200, 198, 198, 207, 202, 190, 0, 190, 444 194, 195, 189, 198, 184, 183, 182, 0, 194, 188, 445 446 192, 0, 0, 0, 0, 202, 59, 194, 189, 189, 447 181, 172, 173, 179, 170, 185, 164, 176, 0, 179, 448 173, 0, 173, 176, 0, 267, 187, 170, 170, 164, 449 173, 170, 160, 155, 0, 167, 170, 169, 155, 155, 450 151, 161, 152, 141, 0, 152, 157, 157, 142, 143, 451 157, 152, 133, 142, 151, 137, 145, 138, 127, 129, 452 0, 143, 136, 0, 144, 0, 141, 0, 0, 120, 453 135, 0, 0, 0, 0, 137, 123, 129, 138, 0, 454 116, 115, 120, 119, 0, 131, 119, 118, 113, 129, 455 119, 112, 111, 0, 113, 67, 0, 0, 108, 115, 456 457 115, 116, 110, 115, 114, 109, 98, 88, 84, 74, 458 0, 67, 0, 80, 66, 61, 69, 69, 55, 0, 459 267, 107, 113, 115, 121, 127, 133, 69, 47 383 460 } ; 384 461 385 static yyconst short int yy_def[227] =462 static yyconst flex_int16_t yy_def[230] = 386 463 { 0, 387 2 18, 1, 219, 219, 220, 220, 218, 218, 218, 218,388 2 18, 218, 218, 218, 218, 218, 218, 221, 221, 221,389 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,390 22 1, 221, 221, 218, 218, 222, 218, 218, 223, 218,391 2 18, 218, 218, 224, 221, 221, 221, 221, 221, 221,392 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,393 22 1, 221, 221, 221, 221, 221, 221, 222, 218, 218,394 22 3, 218, 218, 218, 218, 218, 218, 225, 224, 221,395 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,396 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,397 398 22 1, 221, 221, 221, 226, 221, 221, 221, 221, 221,399 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,400 22 1, 221, 221, 221, 221, 218, 221, 221, 221, 221,401 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,402 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,403 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,404 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,405 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,406 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,407 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,408 409 22 1, 221, 221, 221, 221, 221, 221, 221, 221, 221,410 22 1, 221, 221, 221, 221, 221, 221, 0, 218, 218,411 218, 218, 218, 218, 218, 218464 221, 1, 222, 222, 223, 223, 221, 221, 221, 221, 465 221, 221, 221, 221, 221, 221, 221, 224, 224, 224, 466 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 467 224, 224, 224, 221, 221, 225, 221, 221, 226, 221, 468 221, 221, 221, 227, 224, 224, 224, 224, 224, 224, 469 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 470 224, 224, 224, 224, 224, 224, 224, 225, 221, 221, 471 226, 221, 221, 221, 221, 221, 221, 228, 227, 224, 472 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 473 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 474 475 224, 224, 224, 224, 229, 224, 224, 224, 224, 224, 476 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 477 224, 224, 224, 224, 224, 221, 224, 224, 224, 224, 478 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 479 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 480 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 481 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 482 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 483 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 484 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 485 486 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 487 224, 224, 224, 224, 224, 224, 224, 224, 224, 224, 488 0, 221, 221, 221, 221, 221, 221, 221, 221 412 489 } ; 413 490 414 static yyconst short int yy_nxt[312] =491 static yyconst flex_int16_t yy_nxt[315] = 415 492 { 0, 416 493 8, 9, 10, 9, 9, 11, 12, 13, 8, 14, … … 419 496 25, 26, 27, 28, 18, 29, 18, 30, 31, 32, 420 497 18, 18, 33, 18, 18, 34, 35, 37, 37, 40, 421 40, 126, 46, 38, 38, 42, 53, 42, 42, 43,422 47, 44, 5 5, 41, 41, 54, 56, 59, 63, 60,423 69, 72, 70, 42, 105, 42, 42, 73, 64, 102,424 61, 103, 62, 82, 83, 74, 96, 97, 69, 128,425 70, 217, 197, 216, 215, 214, 213, 212, 211, 75,426 427 129, 210, 76, 198, 77, 209, 208, 207, 78, 36,428 36, 36, 36, 3 6, 36, 39, 39, 39, 39, 39,429 39, 45, 45, 68, 206, 68, 205, 68, 68, 71,430 71, 204, 71, 71, 71, 79, 203, 79, 79, 79,431 79, 202, 201, 200, 199, 196, 195, 194, 193, 192,432 19 1, 190, 189, 188, 187, 186, 185, 184, 183, 182,433 18 1, 180, 179, 178, 177, 176, 175, 174, 173, 172,434 17 1, 170, 169, 168, 167, 166, 165, 164, 163, 162,435 16 1, 160, 159, 158, 157, 156, 155, 154, 153, 152,436 15 1, 150, 149, 148, 147, 146, 145, 144, 143, 142,437 438 14 1, 140, 139, 138, 137, 136, 135, 134, 133, 132,439 13 1, 130, 127, 125, 124, 123, 122, 121, 120, 119,440 1 18, 117, 116, 115, 114, 113, 112, 111, 110, 109,441 1 08, 107, 106, 104, 101, 100, 99, 98, 95, 94,442 9 3, 92, 91, 90, 89, 88, 87, 86, 85, 84,443 8 1, 80, 67, 66, 65, 58, 57, 52, 51, 50,444 49, 48, 218, 7, 218, 218, 218, 218, 218, 218,445 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,446 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,447 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,448 449 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,450 2 18498 40, 126, 46, 38, 38, 42, 49, 42, 42, 43, 499 47, 44, 54, 41, 41, 50, 56, 60, 63, 72, 500 57, 55, 69, 105, 70, 73, 82, 83, 64, 102, 501 61, 103, 62, 74, 42, 128, 42, 42, 96, 97, 502 69, 220, 70, 200, 219, 218, 129, 75, 217, 216, 503 504 76, 215, 77, 214, 201, 213, 78, 36, 36, 36, 505 36, 36, 36, 39, 39, 39, 39, 39, 39, 45, 506 45, 68, 212, 68, 211, 68, 68, 71, 71, 210, 507 71, 71, 71, 79, 209, 79, 79, 79, 79, 208, 508 207, 206, 205, 204, 203, 202, 199, 198, 197, 196, 509 195, 194, 193, 192, 191, 190, 189, 188, 187, 186, 510 185, 184, 183, 182, 181, 180, 179, 178, 177, 176, 511 175, 174, 173, 172, 171, 170, 169, 168, 167, 166, 512 165, 164, 163, 162, 161, 160, 159, 158, 157, 156, 513 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, 514 515 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 516 135, 134, 133, 132, 131, 130, 127, 125, 124, 123, 517 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 518 112, 111, 110, 109, 108, 107, 106, 104, 101, 100, 519 99, 98, 95, 94, 93, 92, 91, 90, 89, 88, 520 87, 86, 85, 84, 81, 80, 67, 66, 65, 59, 521 58, 53, 52, 51, 48, 221, 7, 221, 221, 221, 522 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 523 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 524 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 525 526 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 527 221, 221, 221, 221 451 528 } ; 452 529 453 static yyconst short int yy_chk[312] =530 static yyconst flex_int16_t yy_chk[315] = 454 531 { 0, 455 532 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, … … 458 535 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 459 536 1, 1, 1, 1, 1, 1, 1, 3, 4, 5, 460 6, 22 6, 19, 3, 4, 9, 25, 9, 9, 15,461 19, 15, 2 6, 5, 6, 25, 26, 29, 30, 29,462 38, 41, 38, 42, 225, 42, 42, 41, 30, 66,463 29, 66, 29, 4 8, 48, 41, 61, 61, 69, 107,464 69, 21 6, 193, 215, 214, 213, 212, 211, 209, 41,465 466 107, 207, 41, 193, 41, 206, 205, 204, 41, 219,467 2 19, 219, 219, 219, 219, 220, 220, 220, 220, 220,468 22 0, 221, 221, 222, 203, 222, 202, 222, 222, 223,469 22 3, 201, 223, 223, 223, 224, 200, 224, 224, 224,470 2 24, 199, 198, 197, 196, 192, 190, 189, 188, 187,471 1 86, 185, 184, 183, 181, 180, 179, 178, 176, 175,472 17 4, 173, 168, 167, 164, 163, 161, 160, 158, 157,473 15 6, 155, 154, 153, 152, 151, 150, 149, 148, 147,474 14 6, 145, 143, 142, 141, 140, 139, 138, 137, 136,475 13 5, 133, 132, 131, 130, 129, 128, 127, 124, 123,476 477 12 1, 119, 117, 116, 115, 114, 113, 112, 111, 110,478 1 09, 108, 106, 101, 100, 99, 97, 96, 95, 94,479 9 3, 92, 91, 90, 89, 87, 86, 85, 84, 83,480 8 2, 81, 80, 67, 65, 64, 63, 62, 60, 59,481 58, 57, 56, 55, 54, 53, 52, 51, 50, 49,482 47, 46, 33, 32, 31, 28, 27, 24, 23, 22,483 2 1, 20, 7, 218, 218, 218, 218, 218, 218, 218,484 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,485 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,486 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,487 488 2 18, 218, 218, 218, 218, 218, 218, 218, 218, 218,489 2 18537 6, 229, 19, 3, 4, 9, 21, 9, 9, 15, 538 19, 15, 25, 5, 6, 21, 26, 29, 30, 41, 539 26, 25, 38, 228, 38, 41, 48, 48, 30, 66, 540 29, 66, 29, 41, 42, 107, 42, 42, 61, 61, 541 69, 219, 69, 196, 218, 217, 107, 41, 216, 215, 542 543 41, 214, 41, 212, 196, 210, 41, 222, 222, 222, 544 222, 222, 222, 223, 223, 223, 223, 223, 223, 224, 545 224, 225, 209, 225, 208, 225, 225, 226, 226, 207, 546 226, 226, 226, 227, 206, 227, 227, 227, 227, 205, 547 204, 203, 202, 201, 200, 199, 195, 193, 192, 191, 548 190, 189, 188, 187, 186, 184, 183, 182, 181, 179, 549 178, 177, 176, 171, 170, 167, 165, 163, 162, 160, 550 159, 158, 157, 156, 155, 154, 153, 152, 151, 150, 551 149, 148, 147, 146, 144, 143, 142, 141, 140, 139, 552 138, 137, 136, 134, 133, 132, 131, 130, 129, 128, 553 554 127, 124, 123, 121, 120, 118, 117, 116, 115, 114, 555 113, 112, 111, 110, 109, 108, 106, 101, 100, 99, 556 97, 96, 95, 94, 93, 92, 91, 90, 88, 87, 557 86, 85, 84, 83, 82, 81, 80, 67, 65, 64, 558 63, 62, 60, 59, 58, 57, 56, 55, 54, 53, 559 52, 51, 50, 49, 47, 46, 33, 32, 31, 28, 560 27, 24, 23, 22, 20, 7, 221, 221, 221, 221, 561 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 562 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 563 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 564 565 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 566 221, 221, 221, 221 490 567 } ; 491 568 492 569 static yy_state_type yy_last_accepting_state; 493 570 static char *yy_last_accepting_cpos; 571 572 extern int yy_flex_debug; 573 int yy_flex_debug = 0; 494 574 495 575 /* The intent behind this definition is that it'll catch … … 502 582 char *yytext; 503 583 #line 1 "parser.l" 504 #define INITIAL 0505 584 /* $Id$ */ 506 585 #line 3 "parser.l" … … 518 597 static int string_cap = 0; 519 598 599 600 #line 601 "lex.yy.c" 601 602 #define INITIAL 0 520 603 #define comment 1 521 604 #define string 2 522 605 523 #line 524 "lex.yy.c" 606 #ifndef YY_NO_UNISTD_H 607 /* Special case for "unistd.h", since it is non-ANSI. We include it way 608 * down here because we want the user's section 1 to have been scanned first. 609 * The user has a chance to override it with an option. 610 */ 611 #include <unistd.h> 612 #endif 613 614 #ifndef YY_EXTRA_TYPE 615 #define YY_EXTRA_TYPE void * 616 #endif 524 617 525 618 /* Macros after this point can all be overridden by user definitions in … … 529 622 #ifndef YY_SKIP_YYWRAP 530 623 #ifdef __cplusplus 531 extern "C" int yywrap YY_PROTO(( void ));624 extern "C" int yywrap (void ); 532 625 #else 533 extern int yywrap YY_PROTO(( void )); 534 #endif 535 #endif 536 537 #ifndef YY_NO_UNPUT 538 static void yyunput YY_PROTO(( int c, char *buf_ptr )); 539 #endif 540 626 extern int yywrap (void ); 627 #endif 628 #endif 629 630 static void yyunput (int c,char *buf_ptr ); 631 541 632 #ifndef yytext_ptr 542 static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));633 static void yy_flex_strncpy (char *,yyconst char *,int ); 543 634 #endif 544 635 545 636 #ifdef YY_NEED_STRLEN 546 static int yy_flex_strlen YY_PROTO(( yyconst char * ));637 static int yy_flex_strlen (yyconst char * ); 547 638 #endif 548 639 549 640 #ifndef YY_NO_INPUT 641 550 642 #ifdef __cplusplus 551 static int yyinput YY_PROTO(( void ));643 static int yyinput (void ); 552 644 #else 553 static int input YY_PROTO(( void )); 554 #endif 555 #endif 556 557 #if YY_STACK_USED 558 static int yy_start_stack_ptr = 0; 559 static int yy_start_stack_depth = 0; 560 static int *yy_start_stack = 0; 561 #ifndef YY_NO_PUSH_STATE 562 static void yy_push_state YY_PROTO(( int new_state )); 563 #endif 564 #ifndef YY_NO_POP_STATE 565 static void yy_pop_state YY_PROTO(( void )); 566 #endif 567 #ifndef YY_NO_TOP_STATE 568 static int yy_top_state YY_PROTO(( void )); 569 #endif 570 571 #else 572 #define YY_NO_PUSH_STATE 1 573 #define YY_NO_POP_STATE 1 574 #define YY_NO_TOP_STATE 1 575 #endif 576 577 #ifdef YY_MALLOC_DECL 578 YY_MALLOC_DECL 579 #else 580 #if __STDC__ 581 #ifndef __cplusplus 582 #include <stdlib.h> 583 #endif 584 #else 585 /* Just try to get by without declaring the routines. This will fail 586 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) 587 * or sizeof(void*) != sizeof(int). 588 */ 589 #endif 645 static int input (void ); 646 #endif 647 590 648 #endif 591 649 … … 596 654 597 655 /* Copy whatever the last rule matched to the standard output. */ 598 599 656 #ifndef ECHO 600 657 /* This used to be an fputs(), but since the string might contain NUL's, … … 609 666 #ifndef YY_INPUT 610 667 #define YY_INPUT(buf,result,max_size) \ 611 if ( yy_current_buffer->yy_is_interactive ) \668 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 612 669 { \ 613 int c = '*', n; \ 670 int c = '*'; \ 671 size_t n; \ 614 672 for ( n = 0; n < max_size && \ 615 673 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ … … 621 679 result = n; \ 622 680 } \ 623 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ 624 && ferror( yyin ) ) \ 625 YY_FATAL_ERROR( "input in flex scanner failed" ); 681 else \ 682 { \ 683 errno=0; \ 684 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ 685 { \ 686 if( errno != EINTR) \ 687 { \ 688 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 689 break; \ 690 } \ 691 errno=0; \ 692 clearerr(yyin); \ 693 } \ 694 }\ 695 \ 696 626 697 #endif 627 698 … … 644 715 #endif 645 716 717 /* end tables serialization structures and prototypes */ 718 646 719 /* Default declaration of generated scanner - a define so the user can 647 720 * easily add parameters. 648 721 */ 649 722 #ifndef YY_DECL 650 #define YY_DECL int yylex YY_PROTO(( void )) 651 #endif 723 #define YY_DECL_IS_OURS 1 724 725 extern int yylex (void); 726 727 #define YY_DECL int yylex (void) 728 #endif /* !YY_DECL */ 652 729 653 730 /* Code executed at the beginning of each rule, after yytext and yyleng … … 666 743 YY_USER_ACTION 667 744 745 /** The main scanner function which does all the work. 746 */ 668 747 YY_DECL 669 {748 { 670 749 register yy_state_type yy_current_state; 671 register char *yy_cp = NULL, *yy_bp = NULL;750 register char *yy_cp, *yy_bp; 672 751 register int yy_act; 673 752 674 753 #line 25 "parser.l" 675 754 676 755 677 756 678 #line 679"lex.yy.c"679 680 if ( yy_init)757 #line 758 "lex.yy.c" 758 759 if ( (yy_init) ) 681 760 { 682 yy_init= 0;761 (yy_init) = 0; 683 762 684 763 #ifdef YY_USER_INIT … … 686 765 #endif 687 766 688 if ( ! yy_start)689 yy_start= 1; /* first start state */767 if ( ! (yy_start) ) 768 (yy_start) = 1; /* first start state */ 690 769 691 770 if ( ! yyin ) … … 695 774 yyout = stdout; 696 775 697 if ( ! yy_current_buffer ) 698 yy_current_buffer = 699 yy_create_buffer( yyin, YY_BUF_SIZE ); 700 701 yy_load_buffer_state(); 776 if ( ! YY_CURRENT_BUFFER ) { 777 yyensure_buffer_stack (); 778 YY_CURRENT_BUFFER_LVALUE = 779 yy_create_buffer(yyin,YY_BUF_SIZE ); 780 } 781 782 yy_load_buffer_state( ); 702 783 } 703 784 704 785 while ( 1 ) /* loops until end-of-file is reached */ 705 786 {&nb
