📄 lex.yy.cc
字号:
/* A lexical scanner generated by flex *//* Scanner skeleton version: * $Header: /usr/cvs/hysdel/hysdel/source/lex.yy.cc,v 1.23 2002/09/10 16:40:30 torrisi Exp $ */#define FLEX_SCANNER#define YY_FLEX_MAJOR_VERSION 2#define YY_FLEX_MINOR_VERSION 5/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */#ifdef c_plusplus#ifndef __cplusplus#define __cplusplus#endif#endif#ifdef __cplusplus#include <stdlib.h>class istream;#include <unistd.h>/* Use prototypes in function declarations. */#define YY_USE_PROTOS/* The "const" storage-class-modifier is valid. */#define YY_USE_CONST#else /* ! __cplusplus */#if __STDC__#define YY_USE_PROTOS#define YY_USE_CONST#endif /* __STDC__ */#endif /* ! __cplusplus */#ifdef __TURBOC__ #pragma warn -rch #pragma warn -use#include <io.h>#include <stdlib.h>#define YY_USE_CONST#define YY_USE_PROTOS#endif#ifdef YY_USE_CONST#define yyconst const#else#define yyconst#endif#ifdef YY_USE_PROTOS#define YY_PROTO(proto) proto#else#define YY_PROTO(proto) ()#endif/* Returned upon end-of-file. */#define YY_NULL 0/* Promotes a possibly negative, possibly signed char to an unsigned * integer for use as an array index. If the signed char is negative, * we want to instead treat it as an 8-bit unsigned char, hence the * double cast. */#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)/* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */#define BEGIN yy_start = 1 + 2 */* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */#define YY_START ((yy_start - 1) / 2)#define YYSTATE YY_START/* Action number for EOF rule of a given start state. */#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)/* Special action meaning "start processing a new file". */#define YY_NEW_FILE yyrestart( yyin )#define YY_END_OF_BUFFER_CHAR 0/* Size of default input buffer. */#define YY_BUF_SIZE 16384typedef struct yy_buffer_state *YY_BUFFER_STATE;extern int yyleng;#define EOB_ACT_CONTINUE_SCAN 0#define EOB_ACT_END_OF_FILE 1#define EOB_ACT_LAST_MATCH 2/* The funky do-while in the following #define is used to turn the definition * int a single C statement (which needs a semi-colon terminator). This * avoids problems with code like: * * if ( condition_holds ) * yyless( 5 ); * else * do_something_else(); * * Prior to using the do-while the compiler would get upset at the * "else" because it interpreted the "if" statement as being all * done when it reached the ';' after the yyless() call. *//* Return all but the first 'n' matched characters back to the input stream. */#define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ YY_RESTORE_YY_MORE_OFFSET \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 )#define unput(c) yyunput( c, yytext_ptr )/* The following is because we cannot portably get our hands on size_t * (without autoconf's help, which isn't available because we want * flex-generated scanners to compile on their own). */typedef unsigned int yy_size_t;struct yy_buffer_state { istream* yy_input_file; char *yy_ch_buf; /* input buffer */ char *yy_buf_pos; /* current position in input buffer */ /* Size of input buffer in bytes, not including room for EOB * characters. */ yy_size_t yy_buf_size; /* Number of characters read into yy_ch_buf, not including EOB * characters. */ int yy_n_chars; /* Whether we "own" the buffer - i.e., we know we created it, * and can realloc() it to grow it, and should free() it to * delete it. */ int yy_is_our_buffer; /* Whether this is an "interactive" input source; if so, and * if we're using stdio for input, then we want to use getc() * instead of fread(), to make sure we stop fetching input after * each newline. */ int yy_is_interactive; /* Whether we're considered to be at the beginning of a line. * If so, '^' rules will be active on the next match, otherwise * not. */ int yy_at_bol; /* Whether to try to fill the input buffer when we reach the * end of it. */ int yy_fill_buffer; int yy_buffer_status;#define YY_BUFFER_NEW 0#define YY_BUFFER_NORMAL 1 /* When an EOF's been seen but there's still some text to process * then we mark the buffer as YY_EOF_PENDING, to indicate that we * shouldn't try reading from the input source any more. We might * still have a bunch of tokens to match, though, because of * possible backing-up. * * When we actually see the EOF, we change the status to "new" * (via yyrestart()), so that the user can continue scanning by * just pointing yyin at a new input file. */#define YY_BUFFER_EOF_PENDING 2 };/* We provide macros for accessing buffer states in case in the * future we want to put the buffer states in a more general * "scanner state". */#define YY_CURRENT_BUFFER yy_current_bufferstatic void *yy_flex_alloc YY_PROTO(( yy_size_t ));static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));static void yy_flex_free YY_PROTO(( void * ));#define yy_new_buffer yy_create_buffer#define yy_set_interactive(is_interactive) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_is_interactive = is_interactive; \ }#define yy_set_bol(at_bol) \ { \ if ( ! yy_current_buffer ) \ yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ yy_current_buffer->yy_at_bol = at_bol; \ }#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)#define YY_USES_REJECT#define yywrap() 1#define YY_SKIP_YYWRAPtypedef unsigned char YY_CHAR;#define yytext_ptr yytext#define YY_INTERACTIVE#include <FlexLexer.h>int yyFlexLexer::yylex() { LexerError( "yyFlexLexer::yylex invoked but %option yyclass used" ); return 0; }#define YY_DECL int Pure_lexer::yylex()/* Done after the current pattern has been matched and before the * corresponding action - sets up yytext. */#define YY_DO_BEFORE_ACTION \ yytext_ptr = yy_bp; \ yyleng = (int) (yy_cp - yy_bp); \ yy_hold_char = *yy_cp; \ *yy_cp = '\0'; \ yy_c_buf_p = yy_cp;#define YY_NUM_RULES 46#define YY_END_OF_BUFFER 47static yyconst short int yy_acclist[373] = { 0, 4, 4, 47, 45, 46, 1, 45, 46, 2, 46, 45, 46, 45, 46, 8, 45, 46, 45, 46, 8, 45, 46, 45, 46, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 43, 44, 45, 46, 45, 46, 4, 46, 6, 46, 46, 1, 15, 12, 8, 8, 3, 8, 8, 11, 10, 9, 44, 43, 44, 26, 43, 44, 43, 44, 43, 44, 43, 44, 27, 43, 44, 43, 44, 43, 44, 19, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 14, 4, 5, 7, 8, 13, 43, 44, 25, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 38, 43, 44, 39, 43, 44, 40, 43, 44, 41, 43, 44, 43, 44, 43, 44, 33, 43, 44, 43, 44, 20, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 29, 43, 44, 43, 44, 43, 44, 32, 43, 44, 43, 44, 43, 44, 34, 43, 44, 36, 43, 44, 42, 43, 44, 43, 44, 43, 44, 37, 43, 44, 43, 44, 22, 43, 44, 43, 44, 43, 44, 30, 43, 44, 43, 44, 43, 44, 21, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 31, 43, 44, 23, 43, 44, 43, 44, 16, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 35, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 17, 43, 44, 24, 43, 44, 28, 43, 44, 43, 44, 43, 44, 43, 44, 43, 44, 18, 43, 44 } ;static yyconst short int yy_accept[171] = { 0, 1, 1, 1, 2, 3, 4, 6, 9, 11, 13, 15, 18, 20, 23, 25, 27, 31, 35, 39, 43, 47, 51, 55, 59, 63, 67, 71, 75, 79, 83, 87, 91, 95, 99, 103, 105, 107, 109, 110, 111, 112, 113, 114, 115, 115, 116, 117, 118, 119, 120, 121, 122, 124, 127, 129, 131, 133, 136, 138, 140, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 173, 175, 177, 178, 179, 180, 180, 181, 181, 182, 183, 185, 188, 190, 192, 194, 196, 198, 200, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 225, 228, 231, 234, 236, 238, 241, 243, 246, 248, 250, 252, 254, 256, 258, 261, 263, 265, 268, 270, 272, 275, 278, 281, 283, 285, 288, 290, 293, 295, 297, 300, 302, 304, 307, 309, 311, 313, 315, 317, 320, 323, 325, 328, 330, 332, 334, 336, 338, 341, 343, 345, 347, 349, 351, 353, 356, 359, 362, 364, 366, 368, 370, 373, 373 } ;static yyconst int yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 4, 1, 1, 1, 5, 6, 1, 7, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 1, 12, 13, 14, 1, 1, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 24, 25, 26, 27, 28, 29, 24, 30, 31, 32, 33, 24, 24, 34, 35, 24, 1, 1, 1, 1, 36, 1, 24, 24, 37, 24, 38, 24, 39, 24, 40, 24, 24, 41, 24, 42, 43, 44, 45, 46, 47, 48, 24, 24, 24, 49, 24, 24, 1, 50, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ;static yyconst int yy_meta[51] = { 0, 1, 1, 2, 1, 2, 1, 1, 3, 1, 3, 3, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1 } ;static yyconst short int yy_base[175] = { 0, 0, 0, 48, 49, 158, 506, 151, 506, 129, 107, 45, 115, 48, 50, 101, 51, 57, 62, 63, 64, 80, 68, 85, 69, 90, 91, 92, 98, 102, 108, 107, 114, 118, 120, 44, 0, 506, 99, 85, 506, 506, 117, 506, 133, 506, 132, 137, 68, 506, 506, 0, 124, 133, 146, 138, 156, 151, 160, 161, 165, 166, 171, 177, 173, 179, 181, 185, 190, 191, 200, 201, 206, 208, 210, 214, 215, 216, 506, 0, 506, 143, 506, 71, 56, 506, 221, 222, 226, 227, 233, 232, 239, 234, 250, 257, 262, 263, 264, 269, 271, 270, 275, 279, 280, 281, 286, 290, 292, 297, 301, 302, 303, 307, 309, 311, 321, 313, 323, 325, 329, 333, 338, 339, 340, 344, 346, 350, 354, 359, 360, 361, 365, 367, 369, 371, 373, 375, 377, 382, 384, 386, 391, 392, 397, 398, 405, 406, 411, 412, 417, 421, 422, 423, 429, 433, 435, 439, 441, 443, 445, 451, 453, 457, 461, 462, 467, 469, 468, 506, 496, 58, 499, 502, 57 } ;static yyconst short int yy_def[175] = { 0, 169, 1, 170, 170, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 169, 172, 169, 173, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 174, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 169, 172, 169, 173, 169, 169, 169, 169, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 171, 0, 169, 169, 169, 169, 169 } ;static yyconst short int yy_nxt[557] = { 0, 6, 7, 8, 9, 6, 6, 10, 11, 12, 13, 6, 14, 6, 15, 16, 17, 18, 19, 20, 21, 22, 22, 23, 22, 24, 25, 22, 26, 27, 28, 29, 30, 22, 22, 22, 6, 31, 32, 22, 22, 33, 22, 22, 22, 22, 22, 34, 22, 22, 35, 37, 37, 38, 38, 42, 46, 48, 47, 51, 51, 52, 51, 49, 43, 51, 84, 43, 51, 53, 51, 51, 51, 51, 51, 51, 51, 51, 57, 51, 51, 84, 85, 44, 54, 55, 44, 39, 51, 58, 56, 51, 63, 51, 78, 59, 51, 64, 51, 51, 51, 51, 51, 51, 81, 60, 51, 67, 82, 51, 51, 61, 62, 51, 50, 51, 51, 68, 51, 51, 45, 41, 51, 65, 66, 51, 51, 42, 51, 51, 71, 51, 51, 40, 69, 51, 43, 70, 72, 83, 83, 51, 42, 84, 51, 46, 51, 47, 81, 51, 73, 43, 82, 39, 51, 44, 43, 51, 169, 51, 76, 75, 51, 74, 51, 77, 88, 51, 51, 51, 44, 51, 51, 51, 51, 44, 51, 51, 86, 51, 87, 51, 51, 89, 51, 51, 91, 51, 51, 51, 51, 90, 51, 51, 96, 92, 51, 169, 51, 51, 93, 51, 51, 94, 95, 100, 101, 169, 51, 51, 97, 51, 51, 98, 51, 99, 51, 51, 51, 51, 103, 51, 51, 51, 51, 51, 51, 51, 169, 51, 51, 102, 51, 51, 51, 51, 169, 51, 51, 104, 51, 51, 51, 51, 51, 51, 169, 51, 169, 110, 51, 111, 113, 107, 106, 105, 169, 108, 51, 112, 169, 51, 109, 114, 115, 51, 169, 116, 51, 117, 51, 51, 51, 51, 51, 51, 118, 51, 51, 51, 51, 51, 51, 51, 122, 119, 51, 51, 51, 51, 51, 51, 51, 121, 51, 120, 123, 51, 51, 127, 51, 51, 124, 51, 169, 51, 126, 125, 51, 51, 51, 51, 51, 51, 51, 51, 169, 51, 51, 51, 51, 51, 51, 169, 51, 169, 130, 129, 131, 51, 132, 51, 51, 51, 51, 169, 51, 51, 135, 169, 51, 51, 136, 134, 51, 128, 51, 51, 51, 51, 51, 51, 51, 133, 51, 51, 169, 51, 51, 139, 169, 51, 51, 140, 138, 51, 137, 51, 51, 51, 51, 51, 51, 51, 141, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 142, 51, 144, 51, 143, 51, 51, 51, 51, 147, 51, 169, 51, 51, 145, 51, 51, 169, 51, 51, 146, 51, 51, 148, 151, 152, 51, 51, 169, 51, 51, 149, 51, 51, 169, 51, 51, 150, 51, 169, 154, 51, 51, 51, 51, 51, 51, 51, 169, 169, 51, 153, 157, 51, 51, 158, 51, 51, 155, 51, 51, 156, 51, 51, 51, 51, 51, 51, 169, 51, 169, 161, 51, 164, 51, 51, 169, 51, 51, 159, 160, 51, 51, 51, 162, 51, 51, 163, 51, 51, 51, 51, 51, 51, 169, 169, 169, 169, 166, 169, 169, 169, 169, 169, 169, 169, 165, 169, 167, 168, 36, 36, 36, 79, 169, 79, 80, 80, 80, 5, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169, 169 } ;static yyconst short int yy_chk[557] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 4, 3, 4, 11, 13, 14, 13, 16, 174, 171, 16, 14, 11, 17, 84, 13, 17, 16, 18, 19, 20, 18, 19, 20, 22, 24, 19, 22, 24, 83, 48, 11, 16, 17, 13, 39, 21, 20, 18, 21, 24, 23, 35, 21, 23, 24, 25, 26, 27, 25, 26, 27, 38, 23, 28, 27, 38, 28, 29, 23, 23, 29, 15, 31, 30, 28, 31, 30, 12, 10, 32, 25, 26, 32, 33, 42, 34, 33, 30, 34, 52, 9, 29, 52, 42, 29, 30, 44, 44, 53, 46, 44, 53, 47, 55, 47, 81, 55, 31, 46, 81, 7, 54, 42, 47, 54, 5, 57, 34, 33, 57, 32, 56, 34, 55, 56, 58, 59, 46, 58, 59, 60, 61, 47, 60, 61, 54, 62, 54, 64, 62, 56, 64, 63, 59, 65, 63, 66, 65, 58, 66, 67, 64, 61, 67, 0, 68, 69, 62, 68, 69, 62, 63, 68, 69, 0, 70, 71, 65, 70, 71, 66, 72, 67, 73, 72, 74, 73, 71, 74, 75, 76, 77, 75, 76, 77, 0, 86, 87, 70, 86, 87, 88, 89, 0, 88, 89, 72, 91, 90, 93, 91, 90, 93, 0, 92, 0, 86, 92, 88, 90, 75, 74, 73, 0, 76, 94, 89, 0, 94, 77, 91, 92, 95, 0, 93, 95, 94, 96, 97, 98, 96, 97, 98, 95, 99, 101, 100, 99, 101, 100, 102, 99, 96, 102, 103, 104, 105, 103,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -