#define yy_create_buffer hif__create_buffer #define yy_delete_buffer hif__delete_buffer #define yy_scan_buffer hif__scan_buffer #define yy_scan_string hif__scan_string #define yy_scan_bytes hif__scan_bytes #define yy_flex_debug hif__flex_debug #define yy_init_buffer hif__init_buffer #define yy_flush_buffer hif__flush_buffer #define yy_load_buffer_state hif__load_buffer_state #define yy_switch_to_buffer hif__switch_to_buffer #define yyin hif_in #define yyleng hif_leng #define yylex hif_lex #define yyout hif_out #define yyrestart hif_restart #define yytext hif_text #define yylineno hif_lineno #define yywrap hif_wrap #line 21 "hif_l.c" /* A lexical scanner generated by flex */ /* Scanner skeleton version: * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.91 96/09/10 16:58:48 vern Exp $ */ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 #include /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ #ifdef c_plusplus #ifndef __cplusplus #define __cplusplus #endif #endif #ifdef __cplusplus #include #include /* 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 #include #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 16384 typedef struct yy_buffer_state *YY_BUFFER_STATE; extern int yyleng; extern FILE *yyin, *yyout; #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 { FILE *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 }; static YY_BUFFER_STATE yy_current_buffer = 0; /* 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_buffer /* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = (char *) 0; static int yy_init = 1; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ /* Flag which is used to allow yywrap()'s to do buffer switches * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; void yyrestart YY_PROTO(( FILE *input_file )); void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); void yy_load_buffer_state YY_PROTO(( void )); YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); static 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 typedef unsigned char YY_CHAR; FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; typedef int yy_state_type; extern int yylineno; int yylineno = 1; extern char *yytext; #define yytext_ptr yytext static yy_state_type yy_get_previous_state YY_PROTO(( void )); static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); static int yy_get_next_buffer YY_PROTO(( void )); static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); /* 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 107 #define YY_END_OF_BUFFER 108 static yyconst short int yy_acclist[225] = { 0, 108, 106, 107, 101, 106, 107, 100, 107, 99, 106, 107, 106, 107, 103, 106, 107, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 104, 106, 107, 106, 107, 104, 106, 107, 102, 106, 107, 106, 107, 106, 107, 105, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 2, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 42, 1, 2, 104, 104, 104, 104, 104, 104, 23, 104, 104, 7, 104, 104, 104, 9, 104, 104, 24, 104, 68, 104, 104, 25, 104, 104, 8, 104, 104, 104, 104, 13, 17, 58, 65, 69, 104, 22, 104, 104, 104, 19, 4, 20, 104, 104, 38, 40, 57, 11, 12, 64, 66, 72, 76, 5, 104, 3, 29, 53, 55, 36, 34, 67, 6, 21, 104, 98, 50, 51, 49, 26, 35, 37, 30, 46, 83, 10, 52, 48, 32, 59, 56, 54, 27, 33, 47, 31, 39, 18, 43, 14, 45, 89, 75, 82, 77, 44, 16, 28, 93, 78, 15, 41, 97, 85, 80, 86, 71, 61, 79, 70, 73, 90, 92, 63, 81, 91, 74, 60, 88, 96, 87, 84, 62, 94, 95 } ; static yyconst short int yy_accept[676] = { 0, 1, 1, 1, 2, 4, 7, 9, 12, 14, 17, 19, 22, 25, 28, 31, 34, 37, 40, 43, 46, 49, 51, 54, 57, 59, 61, 61, 62, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 97, 97, 97, 97, 97, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, 100, 101, 102, 103, 103, 103, 104, 105, 106, 108, 109, 111, 112, 113, 115, 115, 116, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 118, 119, 119, 119, 120, 120, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 123, 124, 126, 127, 128, 128, 129, 129, 129, 130, 130, 130, 130, 130, 130, 131, 131, 131, 131, 131, 131, 132, 132, 132, 132, 132, 132, 132, 132, 132, 133, 134, 134, 134, 135, 135, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 137, 138, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 140, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, 143, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 145, 145, 145, 145, 145, 146, 146, 146, 146, 147, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 148, 149, 149, 150, 151, 151, 152, 152, 152, 152, 152, 152, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 153, 154, 155, 155, 156, 156, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 158, 158, 158, 158, 158, 158, 159, 159, 159, 159, 159, 159, 159, 160, 160, 160, 160, 160, 160, 160, 161, 161, 162, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 163, 165, 165, 165, 165, 165, 165, 165, 165, 165, 166, 167, 167, 168, 168, 168, 169, 170, 170, 170, 170, 171, 171, 171, 172, 172, 172, 173, 173, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 174, 175, 175, 175, 176, 176, 176, 176, 176, 176, 176, 176, 177, 178, 179, 179, 180, 181, 182, 183, 184, 185, 185, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 186, 187, 188, 188, 189, 189, 190, 190, 190, 191, 191, 191, 191, 191, 191, 192, 193, 193, 193, 193, 194, 194, 194, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 195, 196, 197, 197, 197, 198, 199, 199, 199, 199, 199, 199, 199, 199, 199, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, 201, 202, 202, 202, 202, 202, 203, 204, 204, 205, 205, 205, 205, 205, 205, 205, 205, 206, 207, 207, 207, 207, 208, 208, 208, 209, 210, 211, 211, 212, 212, 212, 212, 212, 212, 213, 213, 213, 214, 214, 214, 215, 215, 215, 216, 216, 216, 217, 217, 217, 217, 218, 218, 218, 218, 219, 219, 219, 219, 220, 220, 221, 222, 222, 223, 224, 225, 225 } ; 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, 4, 1, 5, 1, 1, 1, 1, 1, 6, 7, 1, 1, 8, 9, 1, 1, 10, 10, 11, 10, 10, 10, 10, 10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 1, 38, 1, 1, 39, 1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 21, 49, 50, 51, 52, 53, 54, 28, 55, 56, 57, 32, 33, 34, 58, 59, 37, 60, 1, 61, 62, 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[63] = { 0, 1, 1, 2, 1, 1, 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, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1 } ; static yyconst short int yy_base[679] = { 0, 0, 1304, 1312, 1314, 1314, 1314, 1314, 1306, 1314, 1301, 1300, 54, 55, 56, 60, 57, 59, 72, 82, 64, 128, 80, 1314, 111, 1299, 1302, 1301, 1302, 1295, 65, 81, 68, 92, 109, 105, 137, 155, 158, 118, 125, 140, 172, 179, 157, 145, 1271, 103, 45, 159, 169, 176, 172, 181, 178, 45, 180, 187, 184, 185, 189, 1287, 1281, 1270, 1268, 1295, 1294, 1314, 199, 217, 218, 202, 203, 194, 229, 226, 230, 231, 234, 236, 237, 241, 238, 244, 248, 221, 244, 236, 231, 239, 1314, 246, 261, 256, 259, 259, 268, 255, 283, 271, 275, 268, 271, 275, 287, 1281, 1264, 1277, 304, 1290, 1314, 309, 299, 304, 350, 1278, 310, 327, 331, 1282, 328, 1281, 314, 312, 1280, 311, 333, 1279, 308, 316, 307, 1248, 331, 337, 342, 334, 343, 357, 371, 350, 381, 358, 370, 1252, 376, 370, 380, 391, 394, 1256, 1248, 1248, 1314, 1256, 1265, 399, 385, 404, 396, 402, 398, 404, 404, 400, 404, 418, 1248, 416, 445, 429, 436, 1267, 1269, 424, 1268, 444, 456, 425, 445, 447, 431, 462, 448, 492, 441, 482, 454, 1314, 466, 461, 459, 462, 465, 1314, 466, 500, 484, 543, 508, 475, 503, 1260, 1314, 1314, 1260, 1258, 522, 515, 1264, 519, 1233, 524, 506, 517, 526, 522, 535, 528, 528, 521, 546, 535, 550, 556, 527, 566, 566, 1256, 551, 582, 580, 576, 571, 580, 589, 587, 1238, 589, 602, 590, 599, 591, 592, 600, 604, 597, 585, 594, 611, 596, 604, 612, 613, 1235, 610, 632, 626, 637, 638, 1314, 633, 631, 638, 644, 645, 645, 654, 1234, 1237, 1230, 1234, 643, 1314, 643, 1237, 646, 643, 656, 1224, 644, 652, 650, 669, 654, 1223, 667, 1222, 1228, 660, 661, 663, 688, 1220, 1224, 675, 694, 678, 1228, 695, 1247, 702, 687, 702, 696, 707, 699, 690, 707, 1223, 706, 711, 711, 715, 709, 695, 703, 1314, 714, 704, 714, 707, 1215, 717, 723, 1221, 1314, 1314, 730, 732, 733, 738, 741, 747, 746, 745, 753, 1215, 739, 758, 748, 1314, 1221, 1314, 1314, 761, 1314, 1227, 760, 763, 751, 752, 1210, 1209, 758, 1208, 1207, 772, 1199, 773, 772, 778, 771, 778, 1194, 769, 1193, 769, 767, 1190, 1197, 1314, 796, 798, 1314, 793, 1314, 801, 791, 800, 796, 808, 810, 812, 809, 806, 817, 1314, 809, 813, 821, 803, 825, 1314, 812, 819, 821, 822, 831, 833, 1314, 833, 828, 833, 837, 850, 846, 1314, 854, 1314, 1314, 1214, 858, 1186, 860, 851, 862, 856, 1185, 867, 862, 877, 877, 854, 1180, 1184, 864, 878, 868, 870, 886, 1178, 857, 890, 1177, 1205, 864, 877, 889, 873, 894, 891, 900, 904, 1314, 1314, 901, 1314, 903, 913, 1314, 1314, 921, 905, 913, 1314, 923, 910, 1314, 916, 914, 1314, 923, 1314, 928, 925, 1177, 1168, 919, 1155, 939, 932, 937, 940, 939, 948, 950, 947, 942, 962, 952, 948, 1124, 961, 1112, 963, 972, 965, 958, 1314, 964, 996, 1314, 978, 979, 968, 968, 974, 986, 990, 1314, 1314, 1314, 970, 1314, 1314, 1314, 1314, 1314, 1314, 976, 1314, 983, 1102, 995, 999, 1004, 1001, 989, 1016, 1019, 1016, 1009, 1075, 1018, 1024, 1013, 1026, 1023, 1017, 1011, 1028, 1031, 1021, 1035, 1025, 1027, 1017, 980, 970, 931, 1314, 1314, 1027, 1314, 1036, 1314, 1037, 1038, 1314, 1034, 801, 1039, 1050, 1060, 1314, 1314, 1048, 1055, 1052, 1314, 1069, 1064, 1314, 1076, 742, 1075, 1078, 1078, 1072, 1074, 515, 1080, 1092, 483, 454, 446, 433, 431, 1314, 1314, 1055, 1075, 1314, 1314, 1083, 1084, 1080, 1082, 1093, 1100, 1102, 1101, 1314, 1089, 1100, 1109, 1108, 1114, 1126, 1109, 1125, 1115, 1111, 404, 408, 322, 322, 1314, 1314, 1121, 1132, 1134, 1135, 306, 1314, 1122, 1314, 1128, 1146, 1136, 1145, 1146, 1141, 270, 1314, 1314, 1150, 251, 240, 1314, 251, 1130, 1314, 1314, 1314, 1142, 1314, 176, 1149, 1157, 1152, 1145, 1314, 100, 1164, 1314, 106, 110, 1314, 1167, 1170, 1314, 1163, 1177, 1314, 1181, 1170, 99, 1314, 1173, 1185, 1173, 1314, 1176, 1194, 68, 1314, 1181, 1314, 1314, 1186, 1314, 1314, 1314, 1314, 1236, 72, 1239, 1242 } ; static yyconst short int yy_def[679] = { 0, 674, 1, 674, 674, 674, 674, 674, 675, 674, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 674, 676, 674, 674, 676, 675, 675, 677, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 678, 677, 674, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 678, 674, 676, 676, 676, 674, 114, 676, 676, 676, 676, 676, 676, 676, 676, 676, 674, 676, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 674, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 676, 676, 676, 676, 674, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 674, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 676, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 0, 674, 674, 674, 674 } ; static yyconst short int yy_nxt[1377] = { 0, 4, 5, 6, 7, 8, 9, 9, 9, 10, 11, 11, 11, 12, 13, 11, 14, 15, 11, 11, 11, 11, 11, 11, 11, 11, 16, 17, 11, 18, 19, 20, 11, 11, 11, 11, 11, 11, 21, 4, 11, 12, 22, 11, 11, 15, 11, 11, 11, 11, 11, 11, 11, 16, 17, 18, 19, 20, 11, 11, 23, 23, 24, 674, 674, 674, 674, 31, 674, 674, 87, 39, 36, 674, 674, 29, 97, 674, 32, 33, 37, 674, 40, 671, 38, 41, 30, 35, 42, 674, 674, 674, 31, 45, 70, 31, 68, 87, 43, 39, 36, 674, 97, 32, 34, 32, 34, 71, 37, 40, 69, 38, 41, 44, 674, 86, 42, 73, 674, 45, 31, 70, 68, 61, 72, 62, 43, 674, 665, 658, 32, 34, 657, 655, 674, 72, 69, 78, 63, 44, 46, 64, 47, 86, 48, 49, 674, 50, 51, 674, 77, 52, 72, 53, 674, 54, 55, 56, 57, 58, 74, 59, 60, 79, 674, 78, 674, 674, 46, 83, 47, 75, 48, 49, 76, 50, 51, 84, 52, 88, 53, 674, 54, 56, 57, 58, 80, 74, 674, 89, 79, 90, 91, 93, 95, 81, 98, 83, 92, 75, 102, 99, 76, 674, 96, 103, 100, 88, 674, 104, 82, 674, 674, 94, 80, 650, 116, 89, 101, 90, 91, 93, 95, 81, 98, 92, 674, 674, 102, 99, 111, 96, 112, 103, 100, 674, 82, 104, 674, 674, 674, 114, 115, 674, 101, 674, 674, 674, 113, 118, 674, 131, 128, 674, 132, 119, 111, 674, 126, 117, 112, 120, 133, 124, 127, 647, 646, 645, 123, 129, 121, 134, 122, 130, 113, 135, 118, 125, 128, 131, 136, 132, 119, 137, 138, 117, 126, 120, 139, 133, 124, 140, 127, 121, 123, 122, 129, 141, 134, 130, 142, 143, 147, 135, 144, 146, 145, 136, 674, 643, 137, 138, 148, 674, 140, 152, 139, 153, 674, 674, 157, 674, 181, 674, 176, 141, 142, 144, 143, 145, 147, 146, 175, 154, 179, 155, 674, 674, 156, 148, 674, 177, 674, 172, 174, 635, 173, 180, 157, 171, 181, 630, 176, 629, 183, 178, 186, 184, 185, 187, 175, 179, 155, 158, 159, 160, 161, 177, 162, 163, 188, 172, 174, 180, 173, 190, 164, 165, 166, 167, 168, 183, 178, 186, 169, 184, 185, 187, 189, 193, 194, 158, 170, 160, 161, 191, 162, 163, 188, 196, 198, 197, 190, 164, 165, 167, 168, 199, 674, 200, 192, 207, 209, 674, 213, 193, 189, 210, 194, 208, 217, 211, 628, 191, 206, 212, 196, 197, 198, 214, 216, 218, 222, 674, 627, 199, 192, 200, 207, 215, 209, 226, 213, 606, 219, 231, 235, 208, 217, 211, 220, 206, 212, 674, 674, 211, 214, 216, 218, 212, 222, 223, 215, 228, 224, 674, 233, 239, 605, 226, 229, 219, 244, 231, 235, 236, 225, 604, 234, 237, 603, 230, 249, 211, 232, 248, 212, 250, 252, 223, 251, 253, 224, 254, 233, 239, 245, 229, 244, 266, 259, 238, 225, 236, 234, 240, 241, 237, 230, 242, 249, 248, 246, 247, 250, 252, 251, 255, 253, 243, 254, 265, 602, 256, 245, 257, 266, 258, 259, 267, 272, 674, 276, 240, 241, 273, 275, 242, 246, 247, 277, 278, 279, 282, 283, 255, 243, 599, 284, 265, 256, 287, 257, 293, 258, 260, 267, 261, 272, 276, 262, 271, 263, 273, 275, 288, 280, 277, 290, 278, 279, 282, 283, 264, 281, 284, 285, 298, 294, 287, 293, 291, 286, 260, 289, 261, 296, 292, 262, 674, 263, 674, 280, 288, 301, 295, 290, 302, 300, 264, 303, 304, 285, 305, 298, 286, 294, 299, 291, 307, 311, 312, 315, 292, 296, 308, 318, 313, 314, 309, 316, 295, 301, 317, 302, 321, 300, 320, 303, 304, 319, 305, 310, 322, 299, 323, 324, 307, 311, 312, 315, 326, 318, 308, 313, 314, 329, 309, 316, 330, 317, 321, 327, 319, 331, 320, 332, 333, 310, 322, 335, 328, 323, 324, 334, 336, 339, 326, 338, 344, 345, 347, 349, 348, 329, 351, 337, 330, 352, 355, 327, 353, 331, 332, 333, 354, 357, 328, 335, 360, 361, 334, 362, 336, 339, 338, 344, 345, 347, 348, 349, 351, 337, 363, 366, 352, 355, 353, 367, 368, 370, 674, 372, 354, 357, 360, 361, 373, 362, 374, 375, 377, 376, 378, 385, 371, 380, 381, 382, 383, 366, 363, 384, 392, 386, 368, 367, 387, 370, 372, 388, 389, 390, 393, 396, 373, 374, 377, 375, 376, 385, 378, 371, 395, 380, 381, 382, 383, 397, 384, 386, 392, 398, 388, 387, 390, 399, 400, 389, 401, 402, 393, 396, 403, 406, 405, 409, 407, 411, 412, 395, 593, 413, 414, 417, 397, 420, 422, 423, 398, 424, 425, 426, 399, 431, 400, 401, 402, 405, 428, 430, 403, 406, 407, 409, 674, 411, 412, 413, 414, 435, 417, 434, 436, 420, 422, 423, 437, 424, 425, 426, 431, 438, 439, 441, 428, 430, 440, 442, 443, 583, 444, 445, 446, 450, 447, 448, 449, 435, 451, 434, 436, 452, 453, 454, 437, 455, 456, 438, 457, 439, 458, 441, 440, 459, 461, 442, 443, 444, 445, 450, 446, 447, 448, 460, 449, 462, 451, 452, 463, 453, 454, 464, 455, 466, 456, 468, 457, 479, 458, 469, 459, 470, 461, 473, 471, 474, 491, 475, 477, 460, 478, 476, 488, 462, 482, 463, 483, 484, 494, 464, 485, 466, 486, 468, 479, 469, 489, 492, 495, 470, 471, 473, 474, 491, 475, 488, 477, 476, 478, 493, 482, 496, 497, 484, 483, 494, 485, 498, 501, 499, 486, 500, 502, 492, 489, 503, 495, 504, 505, 506, 507, 509, 508, 510, 511, 493, 577, 496, 514, 497, 516, 517, 518, 519, 498, 499, 501, 500, 520, 521, 502, 503, 522, 523, 504, 506, 505, 507, 508, 509, 524, 510, 511, 525, 514, 526, 529, 527, 516, 517, 518, 519, 531, 532, 533, 576, 520, 521, 534, 535, 522, 523, 542, 540, 541, 575, 524, 543, 547, 544, 545, 525, 526, 527, 529, 546, 548, 549, 551, 536, 531, 532, 533, 537, 534, 552, 535, 553, 555, 542, 538, 540, 541, 543, 547, 539, 544, 554, 545, 556, 557, 558, 548, 546, 549, 559, 551, 561, 562, 574, 564, 563, 565, 552, 555, 553, 566, 568, 569, 567, 571, 570, 581, 572, 554, 573, 578, 556, 557, 558, 579, 580, 559, 582, 584, 561, 562, 563, 564, 585, 565, 586, 566, 587, 589, 568, 569, 570, 571, 572, 581, 573, 578, 588, 590, 607, 591, 579, 580, 582, 592, 584, 594, 595, 596, 560, 597, 585, 598, 586, 587, 589, 600, 601, 608, 609, 610, 613, 611, 588, 612, 607, 590, 591, 614, 615, 616, 550, 592, 617, 594, 595, 596, 597, 618, 598, 619, 620, 621, 600, 608, 601, 609, 610, 611, 613, 612, 622, 623, 624, 626, 625, 614, 615, 616, 617, 631, 632, 633, 634, 530, 618, 636, 637, 619, 620, 621, 638, 648, 639, 640, 641, 528, 642, 623, 622, 626, 624, 625, 644, 649, 651, 652, 631, 653, 632, 633, 634, 636, 654, 637, 656, 659, 660, 648, 638, 639, 661, 640, 641, 642, 662, 663, 515, 664, 666, 649, 644, 651, 667, 652, 653, 654, 668, 669, 670, 513, 672, 673, 656, 659, 660, 512, 674, 661, 490, 487, 481, 480, 662, 663, 664, 666, 472, 467, 465, 433, 667, 432, 668, 669, 429, 427, 670, 672, 673, 26, 421, 26, 66, 66, 66, 109, 109, 109, 419, 418, 416, 415, 410, 408, 404, 394, 391, 379, 674, 369, 365, 364, 359, 358, 356, 350, 346, 343, 342, 341, 340, 325, 306, 297, 274, 674, 270, 269, 268, 674, 674, 227, 221, 205, 204, 203, 202, 201, 195, 182, 674, 674, 674, 674, 170, 110, 151, 150, 149, 67, 110, 108, 107, 106, 105, 85, 674, 67, 27, 27, 65, 674, 28, 27, 674, 25, 3, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674 } ; static yyconst short int yy_chk[1377] = { 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 12, 13, 14, 16, 13, 17, 15, 48, 17, 15, 20, 30, 676, 55, 32, 13, 13, 15, 18, 17, 665, 16, 17, 12, 14, 18, 22, 31, 19, 22, 20, 32, 13, 30, 48, 19, 17, 15, 33, 55, 22, 22, 13, 13, 33, 15, 17, 31, 16, 17, 19, 35, 47, 18, 35, 34, 20, 22, 32, 30, 24, 34, 24, 19, 39, 657, 647, 22, 22, 646, 643, 40, 33, 31, 40, 24, 19, 21, 24, 21, 47, 21, 21, 36, 21, 21, 41, 39, 21, 34, 21, 45, 21, 21, 21, 21, 21, 36, 21, 21, 41, 37, 40, 44, 38, 21, 44, 21, 37, 21, 21, 38, 21, 21, 45, 21, 49, 21, 42, 21, 21, 21, 21, 42, 36, 43, 50, 41, 51, 52, 53, 54, 43, 56, 44, 52, 37, 58, 57, 38, 73, 54, 59, 57, 49, 68, 60, 43, 71, 72, 53, 42, 637, 73, 50, 57, 51, 52, 53, 54, 43, 56, 52, 69, 70, 58, 57, 68, 54, 69, 59, 57, 75, 43, 60, 74, 76, 77, 71, 72, 78, 57, 79, 80, 82, 70, 75, 81, 87, 85, 83, 88, 76, 68, 84, 83, 74, 69, 77, 89, 81, 84, 630, 628, 627, 80, 86, 78, 91, 79, 86, 70, 92, 75, 82, 85, 87, 93, 88, 76, 94, 95, 74, 83, 77, 96, 89, 81, 97, 84, 78, 80, 79, 86, 98, 91, 86, 99, 100, 104, 92, 101, 103, 102, 93, 112, 623, 94, 95, 104, 113, 97, 108, 96, 108, 111, 116, 113, 123, 130, 122, 123, 98, 99, 101, 100, 102, 104, 103, 122, 108, 128, 111, 117, 120, 112, 104, 118, 125, 126, 117, 120, 613, 118, 129, 113, 116, 130, 606, 123, 605, 132, 126, 135, 133, 134, 136, 122, 128, 111, 114, 114, 114, 114, 125, 114, 114, 137, 117, 120, 129, 118, 139, 114, 114, 114, 114, 114, 132, 126, 135, 114, 133, 134, 136, 138, 141, 142, 114, 114, 114, 114, 140, 114, 114, 137, 144, 146, 145, 139, 114, 114, 114, 114, 147, 155, 148, 140, 156, 158, 157, 160, 141, 138, 159, 142, 157, 163, 159, 604, 140, 155, 159, 144, 145, 146, 161, 162, 164, 167, 173, 603, 147, 140, 148, 156, 161, 158, 169, 160, 577, 165, 177, 180, 157, 163, 159, 165, 155, 159, 175, 178, 170, 161, 162, 164, 170, 167, 168, 161, 173, 168, 176, 179, 182, 576, 169, 175, 165, 184, 177, 180, 181, 168, 575, 179, 181, 574, 176, 188, 170, 178, 186, 170, 189, 191, 168, 190, 192, 168, 194, 179, 182, 185, 175, 184, 199, 196, 181, 168, 181, 179, 183, 183, 181, 176, 183, 188, 186, 185, 185, 189, 191, 190, 195, 192, 183, 194, 198, 573, 195, 185, 195, 199, 195, 196, 200, 207, 206, 212, 183, 183, 209, 211, 183, 185, 185, 213, 214, 215, 217, 218, 195, 183, 570, 219, 198, 195, 221, 195, 224, 195, 197, 200, 197, 207, 212, 197, 206, 197, 209, 211, 222, 216, 213, 223, 214, 215, 217, 218, 197, 216, 219, 220, 228, 225, 221, 224, 223, 220, 197, 222, 197, 226, 223, 197, 230, 197, 229, 216, 222, 231, 225, 223, 232, 230, 197, 233, 234, 220, 235, 228, 220, 225, 229, 223, 237, 239, 240, 243, 223, 226, 238, 246, 241, 242, 238, 244, 225, 231, 245, 232, 249, 230, 248, 233, 234, 247, 235, 238, 250, 229, 251, 252, 237, 239, 240, 243, 254, 246, 238, 241, 242, 256, 238, 244, 257, 245, 249, 255, 247, 258, 248, 260, 261, 238, 250, 263, 255, 251, 252, 262, 264, 266, 254, 265, 271, 273, 275, 277, 276, 256, 279, 264, 257, 280, 283, 255, 281, 258, 260, 261, 282, 285, 255, 263, 288, 289, 262, 290, 264, 266, 265, 271, 273, 275, 276, 277, 279, 264, 291, 294, 280, 283, 281, 295, 296, 298, 300, 301, 282, 285, 288, 289, 302, 290, 303, 304, 306, 305, 307, 314, 300, 309, 310, 311, 312, 294, 291, 313, 322, 315, 296, 295, 317, 298, 301, 318, 319, 320, 323, 328, 302, 303, 306, 304, 305, 314, 307, 300, 327, 309, 310, 311, 312, 329, 313, 315, 322, 330, 318, 317, 320, 331, 332, 319, 333, 334, 323, 328, 335, 338, 337, 344, 339, 347, 348, 327, 564, 349, 350, 353, 329, 356, 358, 359, 330, 360, 361, 362, 331, 367, 332, 333, 334, 337, 364, 366, 335, 338, 339, 344, 371, 347, 348, 349, 350, 372, 353, 371, 374, 356, 358, 359, 376, 360, 361, 362, 367, 377, 378, 380, 364, 366, 379, 381, 382, 550, 383, 384, 385, 390, 387, 388, 389, 372, 391, 371, 374, 393, 394, 395, 376, 396, 397, 377, 398, 378, 400, 380, 379, 401, 403, 381, 382, 383, 384, 390, 385, 387, 388, 402, 389, 404, 391, 393, 405, 394, 395, 407, 396, 411, 397, 413, 398, 422, 400, 414, 401, 415, 403, 418, 416, 419, 435, 419, 420, 402, 421, 419, 431, 404, 425, 405, 426, 427, 438, 407, 428, 411, 429, 413, 422, 414, 432, 436, 439, 415, 416, 418, 419, 435, 419, 431, 420, 419, 421, 437, 425, 440, 441, 427, 426, 438, 428, 442, 448, 445, 429, 447, 451, 436, 432, 452, 439, 453, 455, 456, 458, 461, 459, 463, 464, 437, 539, 440, 467, 441, 469, 470, 471, 472, 442, 445, 448, 447, 473, 474, 451, 452, 475, 476, 453, 456, 455, 458, 459, 461, 477, 463, 464, 478, 467, 479, 482, 480, 469, 470, 471, 472, 484, 485, 486, 538, 473, 474, 487, 489, 475, 476, 494, 492, 493, 537, 477, 495, 502, 496, 497, 478, 479, 480, 482, 498, 509, 511, 513, 490, 484, 485, 486, 490, 487, 514, 489, 515, 517, 494, 490, 492, 493, 495, 502, 490, 496, 516, 497, 518, 519, 520, 509, 498, 511, 521, 513, 523, 524, 536, 526, 525, 527, 514, 517, 515, 528, 530, 531, 529, 533, 532, 547, 534, 516, 535, 542, 518, 519, 520, 544, 546, 521, 549, 551, 523, 524, 525, 526, 552, 527, 553, 528, 556, 558, 530, 531, 532, 533, 534, 547, 535, 542, 557, 560, 580, 561, 544, 546, 549, 563, 551, 565, 566, 567, 522, 568, 552, 569, 553, 556, 558, 571, 572, 581, 584, 585, 588, 586, 557, 587, 580, 560, 561, 589, 590, 591, 512, 563, 593, 565, 566, 567, 568, 594, 569, 595, 596, 597, 571, 581, 572, 584, 585, 586, 588, 587, 598, 599, 600, 602, 601, 589, 590, 591, 593, 609, 610, 611, 612, 483, 594, 615, 617, 595, 596, 597, 618, 631, 619, 620, 621, 481, 622, 599, 598, 602, 600, 601, 626, 635, 638, 639, 609, 640, 610, 611, 612, 615, 641, 617, 644, 649, 650, 631, 618, 619, 652, 620, 621, 622, 653, 655, 468, 656, 659, 635, 626, 638, 660, 639, 640, 641, 661, 663, 664, 466, 667, 670, 644, 649, 650, 465, 434, 652, 433, 430, 424, 423, 653, 655, 656, 659, 417, 412, 410, 369, 660, 368, 661, 663, 365, 363, 664, 667, 670, 675, 357, 675, 677, 677, 677, 678, 678, 678, 355, 354, 352, 351, 346, 341, 336, 324, 321, 308, 299, 297, 293, 292, 287, 286, 284, 278, 274, 270, 269, 268, 267, 253, 236, 227, 210, 208, 205, 204, 201, 174, 172, 171, 166, 154, 153, 151, 150, 149, 143, 131, 127, 124, 121, 119, 115, 109, 107, 106, 105, 66, 65, 64, 63, 62, 61, 46, 29, 28, 27, 26, 25, 11, 10, 8, 3, 2, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674, 674 } ; static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; static char *yy_full_match; static int yy_lp; #define REJECT \ { \ *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \ yy_cp = yy_full_match; /* restore poss. backed-over text */ \ ++yy_lp; \ goto find_rule; \ } #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; #line 1 "hif_l.l" #define INITIAL 0 #line 2 "hif_l.l" /* hif_l.l -- lexical box for Piper-H.I.F.F. simulator */ #if 0 #define HIF_DEBUG_1 1 #endif int hif_getc(); #undef output #undef input #define output(c) #define YY_INPUT(buf,result,max_size) \ { \ int c = hif_getc(); \ result = (c == EOF) ? YY_NULL : (buf[0] = c, 1); \ } #if 0 #define input() (\ (\ (\ yytchar=\ yysptr>yysbuf?\ U(*--yysptr)\ :hif_getc()\ ) == 10?\ (yylineno++,yytchar)\ :yytchar\ ) == (unsigned char)EOF?\ 0\ :yytchar\ ) #endif #line 977 "hif_l.c" /* Macros after this point can all be overridden by user definitions in * section 1. */ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus extern "C" int yywrap YY_PROTO(( void )); #else extern int yywrap YY_PROTO(( void )); #endif #endif #ifndef YY_NO_UNPUT static void yyunput YY_PROTO(( int c, char *buf_ptr )); #endif #ifndef yytext_ptr static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); #endif #ifdef YY_NEED_STRLEN static int yy_flex_strlen YY_PROTO(( yyconst char * )); #endif #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput YY_PROTO(( void )); #else static int input YY_PROTO(( void )); #endif #endif #if YY_STACK_USED static int yy_start_stack_ptr = 0; static int yy_start_stack_depth = 0; static int *yy_start_stack = 0; #ifndef YY_NO_PUSH_STATE static void yy_push_state YY_PROTO(( int new_state )); #endif #ifndef YY_NO_POP_STATE static void yy_pop_state YY_PROTO(( void )); #endif #ifndef YY_NO_TOP_STATE static int yy_top_state YY_PROTO(( void )); #endif #else #define YY_NO_PUSH_STATE 1 #define YY_NO_POP_STATE 1 #define YY_NO_TOP_STATE 1 #endif #ifdef YY_MALLOC_DECL YY_MALLOC_DECL #else #if __STDC__ #ifndef __cplusplus #include #endif #else /* Just try to get by without declaring the routines. This will fail * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) * or sizeof(void*) != sizeof(int). */ #endif #endif /* Amount of stuff to slurp up with each read. */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 #endif /* Copy whatever the last rule matched to the standard output. */ #ifndef ECHO /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, * is returned in "result". */ #ifndef YY_INPUT #define YY_INPUT(buf,result,max_size) \ if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #endif /* No semi-colon after return; correct usage is to write "yyterminate();" - * we don't want an extra ';' after the "return" because that will cause * some compilers to complain about unreachable statements. */ #ifndef yyterminate #define yyterminate() return YY_NULL #endif /* Number of entries by which start-condition stack grows. */ #ifndef YY_START_STACK_INCR #define YY_START_STACK_INCR 25 #endif /* Report a fatal error. */ #ifndef YY_FATAL_ERROR #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) #endif /* Default declaration of generated scanner - a define so the user can * easily add parameters. */ #ifndef YY_DECL #define YY_DECL int yylex YY_PROTO(( void )) #endif /* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION #define YY_USER_ACTION #endif /* Code executed at the end of each rule. */ #ifndef YY_BREAK #define YY_BREAK break; #endif #define YY_RULE_SETUP \ if ( yyleng > 0 ) \ yy_current_buffer->yy_at_bol = \ (yytext[yyleng - 1] == '\n'); \ YY_USER_ACTION YY_DECL { register yy_state_type yy_current_state; register char *yy_cp = NULL, *yy_bp = NULL; register int yy_act; #line 41 "hif_l.l" #line 1134 "hif_l.c" if ( yy_init ) { yy_init = 0; #ifdef YY_USER_INIT YY_USER_INIT; #endif if ( ! yy_start ) yy_start = 1; /* first start state */ if ( ! yyin ) yyin = stdin; if ( ! yyout ) yyout = stdout; if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_load_buffer_state(); } while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = yy_c_buf_p; /* Support of yytext. */ *yy_cp = yy_hold_char; /* yy_bp points to the position in yy_ch_buf of the start of * the current run. */ yy_bp = yy_cp; yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; yy_match: do { register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 675 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *yy_state_ptr++ = yy_current_state; ++yy_cp; } while ( yy_base[yy_current_state] != 1314 ); yy_find_action: yy_current_state = *--yy_state_ptr; yy_lp = yy_accept[yy_current_state]; find_rule: /* we branch to this label when backing up */ for ( ; ; ) /* until we find what rule we matched */ { if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) { yy_act = yy_acclist[yy_lp]; { yy_full_match = yy_cp; break; } } --yy_cp; yy_current_state = *--yy_state_ptr; yy_lp = yy_accept[yy_current_state]; } YY_DO_BEFORE_ACTION; if ( yy_act != YY_END_OF_BUFFER ) { int yyl; for ( yyl = 0; yyl < yyleng; ++yyl ) if ( yytext[yyl] == '\n' ) ++yylineno; } do_action: /* This label is used only to access EOF actions. */ switch ( yy_act ) { /* beginning of action switch */ case 1: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 43 "hif_l.l" { if (counting_od) { current_od_count++; } # ifdef HIF_DEBUG_1 printf("COMMENTED: %s\n",yytext); # endif } YY_BREAK case 2: *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ yy_c_buf_p = yy_cp -= 1; YY_DO_BEFORE_ACTION; /* set up yytext again */ YY_RULE_SETUP #line 51 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("COMMENTED: %s\n",yytext); # endif } YY_BREAK case 3: YY_RULE_SETUP #line 56 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return STACK_OD; } YY_BREAK case 4: YY_RULE_SETUP #line 63 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CARD_OD; } YY_BREAK case 5: YY_RULE_SETUP #line 70 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return FIELD_OD; } YY_BREAK case 6: YY_RULE_SETUP #line 77 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return BUTTON_OD; } YY_BREAK case 7: YY_RULE_SETUP #line 84 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return PLAY; } YY_BREAK case 8: YY_RULE_SETUP #line 91 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return PAUSE; } YY_BREAK case 9: YY_RULE_SETUP #line 98 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SEEK; } YY_BREAK case 10: YY_RULE_SETUP #line 105 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SET_SIGNAL; } YY_BREAK case 11: YY_RULE_SETUP #line 113 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SCRIPT; } YY_BREAK case 12: YY_RULE_SETUP #line 121 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return WINDOW; } YY_BREAK case 13: YY_RULE_SETUP #line 128 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif a_card_found = 1; return CARD; } YY_BREAK case 14: YY_RULE_SETUP #line 135 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CARD_FIELD; } YY_BREAK case 15: YY_RULE_SETUP #line 142 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CARD_SEGMENT; } YY_BREAK case 16: YY_RULE_SETUP #line 149 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CARD_BUTTON; } YY_BREAK case 17: YY_RULE_SETUP #line 157 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return NAME; } YY_BREAK case 18: YY_RULE_SETUP #line 164 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CANTDELETE; } YY_BREAK case 19: YY_RULE_SETUP #line 171 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return STYLE; } YY_BREAK case 20: YY_RULE_SETUP #line 178 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return POLYGON_BUTTON; } YY_BREAK case 21: YY_RULE_SETUP #line 185 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return RECTANGLE_BUTTON; } YY_BREAK case 22: YY_RULE_SETUP #line 192 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CLOSED_LINE; } YY_BREAK case 23: YY_RULE_SETUP #line 199 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return OPEN_LINE; } YY_BREAK case 24: YY_RULE_SETUP #line 206 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TRUE; } YY_BREAK case 25: YY_RULE_SETUP #line 213 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return FALSE; } YY_BREAK case 26: YY_RULE_SETUP #line 220 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return LOCKTEXT; } YY_BREAK case 27: YY_RULE_SETUP #line 227 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SHOWLINES; } YY_BREAK case 28: YY_RULE_SETUP #line 234 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return WIDEMARGINS; } YY_BREAK case 29: YY_RULE_SETUP #line 241 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return AUTOTAB; } YY_BREAK case 30: YY_RULE_SETUP #line 248 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TEXTFONT; } YY_BREAK case 31: YY_RULE_SETUP #line 255 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TEXTSTYLE; } YY_BREAK case 32: YY_RULE_SETUP #line 262 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return LINESTYLE; } YY_BREAK case 33: YY_RULE_SETUP #line 269 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TEXTALIGN; } YY_BREAK case 34: YY_RULE_SETUP #line 276 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return VISIBLE; } YY_BREAK case 35: YY_RULE_SETUP #line 283 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SHOWFILL; } YY_BREAK case 36: YY_RULE_SETUP #line 290 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SHOWPEN; } YY_BREAK case 37: YY_RULE_SETUP #line 297 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SHOWNAME; } YY_BREAK case 38: YY_RULE_SETUP #line 304 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return HILITE; } YY_BREAK case 39: YY_RULE_SETUP #line 311 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return AUTOHILITE; } YY_BREAK case 40: YY_RULE_SETUP #line 320 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return NUMBER; } YY_BREAK case 41: YY_RULE_SETUP #line 327 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return NUMBER_CARDS; } YY_BREAK case 42: YY_RULE_SETUP #line 334 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ID; } YY_BREAK case 43: YY_RULE_SETUP #line 341 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CARDFIELDS; } YY_BREAK case 44: YY_RULE_SETUP #line 348 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CARDBUTTONS; } YY_BREAK case 45: YY_RULE_SETUP #line 355 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TEXTHEIGHT; } YY_BREAK case 46: YY_RULE_SETUP #line 362 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TEXTSIZE; } YY_BREAK case 47: YY_RULE_SETUP #line 369 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return TEXTCOLOR; } YY_BREAK case 48: YY_RULE_SETUP #line 376 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return LINECOLOR; } YY_BREAK case 49: YY_RULE_SETUP #line 383 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return LINETYPE; } YY_BREAK case 50: YY_RULE_SETUP #line 390 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return FILLBACK; } YY_BREAK case 51: YY_RULE_SETUP #line 397 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return FILLFORE; } YY_BREAK case 52: YY_RULE_SETUP #line 404 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return FILLCOLOR; } YY_BREAK case 53: YY_RULE_SETUP #line 411 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return FILLPAT; } YY_BREAK case 54: YY_RULE_SETUP #line 418 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return SHOWFRAME; } YY_BREAK case 55: YY_RULE_SETUP #line 425 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return PENFORE; } YY_BREAK case 56: YY_RULE_SETUP #line 433 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return QTYCOLUMN; } YY_BREAK case 57: YY_RULE_SETUP #line 441 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return QTYROW; } YY_BREAK case 58: YY_RULE_SETUP #line 449 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return RECT; } YY_BREAK case 59: YY_RULE_SETUP #line 457 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return POINTLIST; } YY_BREAK case 60: YY_RULE_SETUP #line 465 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ETAK_ADRS_SEARCH; } YY_BREAK case 61: YY_RULE_SETUP #line 472 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ETAK_ADRS_NEXT; } YY_BREAK case 62: YY_RULE_SETUP #line 479 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ETAK_ADRS_GETCOORD; } YY_BREAK case 63: YY_RULE_SETUP #line 486 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ETAK_ADRS_CLOSE; } YY_BREAK case 64: YY_RULE_SETUP #line 493 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return STBODY; } YY_BREAK case 65: YY_RULE_SETUP #line 500 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CITY; } YY_BREAK case 66: YY_RULE_SETUP #line 507 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return STREET; } YY_BREAK case 67: YY_RULE_SETUP #line 514 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ADDRESS; } YY_BREAK case 68: YY_RULE_SETUP #line 521 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return ST2; } YY_BREAK case 69: YY_RULE_SETUP #line 528 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return PSFX; } YY_BREAK case 70: YY_RULE_SETUP #line 535 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_DELETE_CARD; } YY_BREAK case 71: YY_RULE_SETUP #line 542 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_START_TRAP; } YY_BREAK case 72: YY_RULE_SETUP #line 549 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_BEEP; } YY_BREAK case 73: YY_RULE_SETUP #line 556 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_GOTO_RECORD; } YY_BREAK case 74: YY_RULE_SETUP #line 563 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_SEARCH_INDEX; } YY_BREAK case 75: YY_RULE_SETUP #line 570 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_EXIT_IIS; } YY_BREAK case 76: YY_RULE_SETUP #line 577 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_EXIT; } YY_BREAK case 77: YY_RULE_SETUP #line 584 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_POP_CARD; } YY_BREAK case 78: YY_RULE_SETUP #line 591 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_PUSH_CARD; } YY_BREAK case 79: YY_RULE_SETUP #line 598 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_CLOSE_SFILE; } YY_BREAK case 80: YY_RULE_SETUP #line 605 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_OPEN_SFILE; } YY_BREAK case 81: YY_RULE_SETUP #line 612 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_CHANGE_COLOR; } YY_BREAK case 82: YY_RULE_SETUP #line 619 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_OPEN_MAP; } YY_BREAK case 83: YY_RULE_SETUP #line 626 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_STRCPY; } YY_BREAK case 84: YY_RULE_SETUP #line 633 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_SET_STATUS_VAR; } YY_BREAK case 85: YY_RULE_SETUP #line 640 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_HIDE_FIELD; } YY_BREAK case 86: YY_RULE_SETUP #line 647 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_SHOW_FIELD; } YY_BREAK case 87: YY_RULE_SETUP #line 654 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_REDRAW_SEGMENT; } YY_BREAK case 88: YY_RULE_SETUP #line 661 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_REWRITE_FIELD; } YY_BREAK case 89: YY_RULE_SETUP #line 668 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_END_TRAP; } YY_BREAK case 90: YY_RULE_SETUP #line 675 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_OPEN_OBJECT; } YY_BREAK case 91: YY_RULE_SETUP #line 682 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_QUEUE_SIGNAL; } YY_BREAK case 92: YY_RULE_SETUP #line 689 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_SEND_SIGNAL; } YY_BREAK case 93: YY_RULE_SETUP #line 696 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_CD_PLAYER; } YY_BREAK case 94: YY_RULE_SETUP #line 704 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_PUY_CMMD_TO_CDP; } YY_BREAK case 95: YY_RULE_SETUP #line 711 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_WAIT_FOR_SIGNAL; } YY_BREAK case 96: YY_RULE_SETUP #line 718 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_GO_TO_CARD_REL; } YY_BREAK case 97: YY_RULE_SETUP #line 725 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("RESERVED NAME: %s\n",yytext); # endif if (using_rpl || (using_hif && a_card_found)) return CMD_GO_TO_CARD; } YY_BREAK case 98: YY_RULE_SETUP #line 733 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("END HIFF\n"); # endif /* don't pass to yacc! The parser above us needs to deal with both terminated and non-terminated files. */ } YY_BREAK case 99: YY_RULE_SETUP #line 741 "hif_l.l" { /* blanks */ # ifdef HIF_DEBUG_1 printf("SPACE\n"); # endif } YY_BREAK case 100: YY_RULE_SETUP #line 747 "hif_l.l" { /* blanks */ # ifdef HIF_DEBUG_1 printf("LINEFEED\n"); # endif } YY_BREAK case 101: YY_RULE_SETUP #line 753 "hif_l.l" { /* blanks */ # ifdef HIF_DEBUG_1 printf("TAB\n"); # endif } YY_BREAK case 102: YY_RULE_SETUP #line 759 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("%c\n",yytext[0]); # endif if (using_rpl || (using_hif && a_card_found)) return yytext[0]; } YY_BREAK case 103: YY_RULE_SETUP #line 766 "hif_l.l" { if (!in_name) { # ifdef HIF_DEBUG_1 printf("%c\n",yytext[0]); # endif if (using_rpl || (using_hif && a_card_found)) return yytext[0]; } # ifdef HIF_DEBUG_1 printf("%c\n",yytext[0]); # endif } YY_BREAK case 104: YY_RULE_SETUP #line 778 "hif_l.l" { if (!in_name) { # ifdef HIF_DEBUG_1 printf("NUMBER: %s\n",yytext); # endif strcpy(yylval.value,yytext); yylval.type = NUM; if (using_rpl || (using_hif && a_card_found)) return NUM; } # ifdef HIF_DEBUG_1 printf("NUMBER: %s\n",yytext); # endif } YY_BREAK case 105: YY_RULE_SETUP #line 792 "hif_l.l" { # ifdef HIF_DEBUG_1 printf("STRING: %s\n",yytext); # endif strncpy(yylval.value,&yytext[1],strlen(yytext)-2); yylval.value[strlen(yytext)-2] = '\0'; yylval.type = STRING; if (using_rpl || (using_hif && a_card_found)) return STRING; } YY_BREAK case 106: YY_RULE_SETUP #line 802 "hif_l.l" {} YY_BREAK case 107: YY_RULE_SETUP #line 803 "hif_l.l" ECHO; YY_BREAK #line 2409 "hif_l.c" case YY_STATE_EOF(INITIAL): yyterminate(); case YY_END_OF_BUFFER: { /* Amount of text matched not including the EOB char. */ int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; /* Undo the effects of YY_DO_BEFORE_ACTION. */ *yy_cp = yy_hold_char; YY_RESTORE_YY_MORE_OFFSET if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) { /* We're scanning a new file or input source. It's * possible that this happened because the user * just pointed yyin at a new source and called * yylex(). If so, then we have to assure * consistency between yy_current_buffer and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ yy_n_chars = yy_current_buffer->yy_n_chars; yy_current_buffer->yy_input_file = yyin; yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; } /* Note that here we test for yy_c_buf_p "<=" to the position * of the first EOB in the buffer, since yy_c_buf_p will * already have been incremented past the NUL character * (since all states make transitions on EOB to the * end-of-buffer state). Contrast this with the test * in input(). */ if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) { /* This was really a NUL. */ yy_state_type yy_next_state; yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state(); /* Okay, we're now positioned to make the NUL * transition. We couldn't have * yy_get_previous_state() go ahead and do it * for us because it doesn't know how to deal * with the possibility of jamming (and we don't * want to build jamming into it because then it * will run more slowly). */ yy_next_state = yy_try_NUL_trans( yy_current_state ); yy_bp = yytext_ptr + YY_MORE_ADJ; if ( yy_next_state ) { /* Consume the NUL. */ yy_cp = ++yy_c_buf_p; yy_current_state = yy_next_state; goto yy_match; } else { yy_cp = yy_c_buf_p; goto yy_find_action; } } else switch ( yy_get_next_buffer() ) { case EOB_ACT_END_OF_FILE: { yy_did_buffer_switch_on_eof = 0; if ( yywrap() ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the * YY_NULL, it'll still work - another * YY_NULL will get returned. */ yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; yy_act = YY_STATE_EOF(YY_START); goto do_action; } else { if ( ! yy_did_buffer_switch_on_eof ) YY_NEW_FILE; } break; } case EOB_ACT_CONTINUE_SCAN: yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; yy_current_state = yy_get_previous_state(); yy_cp = yy_c_buf_p; yy_bp = yytext_ptr + YY_MORE_ADJ; goto yy_match; case EOB_ACT_LAST_MATCH: yy_c_buf_p = &yy_current_buffer->yy_ch_buf[yy_n_chars]; yy_current_state = yy_get_previous_state(); yy_cp = yy_c_buf_p; yy_bp = yytext_ptr + YY_MORE_ADJ; goto yy_find_action; } break; } default: YY_FATAL_ERROR( "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * * Returns a code representing an action: * EOB_ACT_LAST_MATCH - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position * EOB_ACT_END_OF_FILE - end of file */ static int yy_get_next_buffer() { register char *dest = yy_current_buffer->yy_ch_buf; register char *source = yytext_ptr; register int number_to_move, i; int ret_val; if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) YY_FATAL_ERROR( "fatal flex scanner internal error--end of buffer missed" ); if ( yy_current_buffer->yy_fill_buffer == 0 ) { /* Don't try to fill the buffer, so this is an EOF. */ if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) { /* We matched a single character, the EOB, so * treat this as a final EOF. */ return EOB_ACT_END_OF_FILE; } else { /* We matched some text prior to the EOB, first * process it. */ return EOB_ACT_LAST_MATCH; } } /* Try to read more data. */ /* First move last chars to start of buffer. */ number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) /* don't do the read, it's not guaranteed to return an EOF, * just force an EOF */ yy_current_buffer->yy_n_chars = yy_n_chars = 0; else { int num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) { /* Not enough room in the buffer - grow it. */ #ifdef YY_USES_REJECT YY_FATAL_ERROR( "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); #else /* just a shorter name for the current buffer */ YY_BUFFER_STATE b = yy_current_buffer; int yy_c_buf_p_offset = (int) (yy_c_buf_p - b->yy_ch_buf); if ( b->yy_is_our_buffer ) { int new_size = b->yy_buf_size * 2; if ( new_size <= 0 ) b->yy_buf_size += b->yy_buf_size / 8; else b->yy_buf_size *= 2; b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ yy_flex_realloc( (void *) b->yy_ch_buf, b->yy_buf_size + 2 ); } else /* Can't grow it, we don't own it. */ b->yy_ch_buf = 0; if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "fatal error - scanner input buffer overflow" ); yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; num_to_read = yy_current_buffer->yy_buf_size - number_to_move - 1; #endif } if ( num_to_read > YY_READ_BUF_SIZE ) num_to_read = YY_READ_BUF_SIZE; /* Read in more data. */ YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), yy_n_chars, num_to_read ); yy_current_buffer->yy_n_chars = yy_n_chars; } if ( yy_n_chars == 0 ) { if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; yyrestart( yyin ); } else { ret_val = EOB_ACT_LAST_MATCH; yy_current_buffer->yy_buffer_status = YY_BUFFER_EOF_PENDING; } } else ret_val = EOB_ACT_CONTINUE_SCAN; yy_n_chars += number_to_move; yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; return ret_val; } /* yy_get_previous_state - get the state just before the EOB char was reached */ static yy_state_type yy_get_previous_state() { register yy_state_type yy_current_state; register char *yy_cp; yy_current_state = yy_start; yy_current_state += YY_AT_BOL(); yy_state_ptr = yy_state_buf; *yy_state_ptr++ = yy_current_state; for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) { register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 675 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; *yy_state_ptr++ = yy_current_state; } return yy_current_state; } /* yy_try_NUL_trans - try to make a transition on the NUL character * * synopsis * next_state = yy_try_NUL_trans( current_state ); */ #ifdef YY_USE_PROTOS static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) #else static yy_state_type yy_try_NUL_trans( yy_current_state ) yy_state_type yy_current_state; #endif { register int yy_is_jam; register YY_CHAR yy_c = 1; while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 675 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; yy_is_jam = (yy_current_state == 674); if ( ! yy_is_jam ) *yy_state_ptr++ = yy_current_state; return yy_is_jam ? 0 : yy_current_state; } #ifndef YY_NO_UNPUT #ifdef YY_USE_PROTOS static void yyunput( int c, register char *yy_bp ) #else static void yyunput( c, yy_bp ) int c; register char *yy_bp; #endif { register char *yy_cp = yy_c_buf_p; /* undo effects of setting up yytext */ *yy_cp = yy_hold_char; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ register int number_to_move = yy_n_chars + 2; register char *dest = &yy_current_buffer->yy_ch_buf[ yy_current_buffer->yy_buf_size + 2]; register char *source = &yy_current_buffer->yy_ch_buf[number_to_move]; while ( source > yy_current_buffer->yy_ch_buf ) *--dest = *--source; yy_cp += (int) (dest - source); yy_bp += (int) (dest - source); yy_current_buffer->yy_n_chars = yy_n_chars = yy_current_buffer->yy_buf_size; if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) YY_FATAL_ERROR( "flex scanner push-back overflow" ); } *--yy_cp = (char) c; if ( c == '\n' ) --yylineno; yytext_ptr = yy_bp; yy_hold_char = *yy_cp; yy_c_buf_p = yy_cp; } #endif /* ifndef YY_NO_UNPUT */ #ifdef __cplusplus static int yyinput() #else static int input() #endif { int c; *yy_c_buf_p = yy_hold_char; if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) { /* yy_c_buf_p now points to the character we want to return. * If this occurs *before* the EOB characters, then it's a * valid NUL; if not, then we've hit the end of the buffer. */ if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) /* This was really a NUL. */ *yy_c_buf_p = '\0'; else { /* need more input */ int offset = yy_c_buf_p - yytext_ptr; ++yy_c_buf_p; switch ( yy_get_next_buffer() ) { case EOB_ACT_LAST_MATCH: /* This happens because yy_g_n_b() * sees that we've accumulated a * token and flags that we need to * try matching the token before * proceeding. But for input(), * there's no matching to consider. * So convert the EOB_ACT_LAST_MATCH * to EOB_ACT_END_OF_FILE. */ /* Reset buffer status. */ yyrestart( yyin ); /* fall through */ case EOB_ACT_END_OF_FILE: { if ( yywrap() ) return EOF; if ( ! yy_did_buffer_switch_on_eof ) YY_NEW_FILE; #ifdef __cplusplus return yyinput(); #else return input(); #endif } case EOB_ACT_CONTINUE_SCAN: yy_c_buf_p = yytext_ptr + offset; break; } } } c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ *yy_c_buf_p = '\0'; /* preserve yytext */ yy_hold_char = *++yy_c_buf_p; yy_current_buffer->yy_at_bol = (c == '\n'); if ( yy_current_buffer->yy_at_bol ) ++yylineno; return c; } #ifdef YY_USE_PROTOS void yyrestart( FILE *input_file ) #else void yyrestart( input_file ) FILE *input_file; #endif { if ( ! yy_current_buffer ) yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); yy_init_buffer( yy_current_buffer, input_file ); yy_load_buffer_state(); } #ifdef YY_USE_PROTOS void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) #else void yy_switch_to_buffer( new_buffer ) YY_BUFFER_STATE new_buffer; #endif { if ( yy_current_buffer == new_buffer ) return; if ( yy_current_buffer ) { /* Flush out information for old buffer. */ *yy_c_buf_p = yy_hold_char; yy_current_buffer->yy_buf_pos = yy_c_buf_p; yy_current_buffer->yy_n_chars = yy_n_chars; } yy_current_buffer = new_buffer; yy_load_buffer_state(); /* We don't actually know whether we did this switch during * EOF (yywrap()) processing, but the only time this flag * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ yy_did_buffer_switch_on_eof = 1; } #ifdef YY_USE_PROTOS void yy_load_buffer_state( void ) #else void yy_load_buffer_state() #endif { yy_n_chars = yy_current_buffer->yy_n_chars; yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; yyin = yy_current_buffer->yy_input_file; yy_hold_char = *yy_c_buf_p; } #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) #else YY_BUFFER_STATE yy_create_buffer( file, size ) FILE *file; int size; #endif { YY_BUFFER_STATE b; b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); if ( ! b->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; yy_init_buffer( b, file ); return b; } #ifdef YY_USE_PROTOS void yy_delete_buffer( YY_BUFFER_STATE b ) #else void yy_delete_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; if ( b == yy_current_buffer ) yy_current_buffer = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) yy_flex_free( (void *) b->yy_ch_buf ); yy_flex_free( (void *) b ); } #ifndef YY_ALWAYS_INTERACTIVE #ifndef YY_NEVER_INTERACTIVE extern int isatty YY_PROTO(( int )); #endif #endif #ifdef YY_USE_PROTOS void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) #else void yy_init_buffer( b, file ) YY_BUFFER_STATE b; FILE *file; #endif { yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; #if YY_ALWAYS_INTERACTIVE b->yy_is_interactive = 1; #else #if YY_NEVER_INTERACTIVE b->yy_is_interactive = 0; #else b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; #endif #endif } #ifdef YY_USE_PROTOS void yy_flush_buffer( YY_BUFFER_STATE b ) #else void yy_flush_buffer( b ) YY_BUFFER_STATE b; #endif { if ( ! b ) return; b->yy_n_chars = 0; /* We always need two end-of-buffer characters. The first causes * a transition to the end-of-buffer state. The second causes * a jam in that state. */ b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; b->yy_buf_pos = &b->yy_ch_buf[0]; b->yy_at_bol = 1; b->yy_buffer_status = YY_BUFFER_NEW; if ( b == yy_current_buffer ) yy_load_buffer_state(); } #ifndef YY_NO_SCAN_BUFFER #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) #else YY_BUFFER_STATE yy_scan_buffer( base, size ) char *base; yy_size_t size; #endif { YY_BUFFER_STATE b; if ( size < 2 || base[size-2] != YY_END_OF_BUFFER_CHAR || base[size-1] != YY_END_OF_BUFFER_CHAR ) /* They forgot to leave room for the EOB's. */ return 0; b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = 0; b->yy_n_chars = b->yy_buf_size; b->yy_is_interactive = 0; b->yy_at_bol = 1; b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; yy_switch_to_buffer( b ); return b; } #endif #ifndef YY_NO_SCAN_STRING #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) #else YY_BUFFER_STATE yy_scan_string( yy_str ) yyconst char *yy_str; #endif { int len; for ( len = 0; yy_str[len]; ++len ) ; return yy_scan_bytes( yy_str, len ); } #endif #ifndef YY_NO_SCAN_BYTES #ifdef YY_USE_PROTOS YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) #else YY_BUFFER_STATE yy_scan_bytes( bytes, len ) yyconst char *bytes; int len; #endif { YY_BUFFER_STATE b; char *buf; yy_size_t n; int i; /* Get memory for full buffer, including space for trailing EOB's. */ n = len + 2; buf = (char *) yy_flex_alloc( n ); if ( ! buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < len; ++i ) buf[i] = bytes[i]; buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; b = yy_scan_buffer( buf, n ); if ( ! b ) YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. */ b->yy_is_our_buffer = 1; return b; } #endif #ifndef YY_NO_PUSH_STATE #ifdef YY_USE_PROTOS static void yy_push_state( int new_state ) #else static void yy_push_state( new_state ) int new_state; #endif { if ( yy_start_stack_ptr >= yy_start_stack_depth ) { yy_size_t new_size; yy_start_stack_depth += YY_START_STACK_INCR; new_size = yy_start_stack_depth * sizeof( int ); if ( ! yy_start_stack ) yy_start_stack = (int *) yy_flex_alloc( new_size ); else yy_start_stack = (int *) yy_flex_realloc( (void *) yy_start_stack, new_size ); if ( ! yy_start_stack ) YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); } yy_start_stack[yy_start_stack_ptr++] = YY_START; BEGIN(new_state); } #endif #ifndef YY_NO_POP_STATE static void yy_pop_state() { if ( --yy_start_stack_ptr < 0 ) YY_FATAL_ERROR( "start-condition stack underflow" ); BEGIN(yy_start_stack[yy_start_stack_ptr]); } #endif #ifndef YY_NO_TOP_STATE static int yy_top_state() { return yy_start_stack[yy_start_stack_ptr - 1]; } #endif #ifndef YY_EXIT_FAILURE #define YY_EXIT_FAILURE 2 #endif #ifdef YY_USE_PROTOS static void yy_fatal_error( yyconst char msg[] ) #else static void yy_fatal_error( msg ) char msg[]; #endif { (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } /* Redefine yyless() so it works in section 3 code. */ #undef yyless #define yyless(n) \ do \ { \ /* Undo effects of setting up yytext. */ \ yytext[yyleng] = yy_hold_char; \ yy_c_buf_p = yytext + n; \ yy_hold_char = *yy_c_buf_p; \ *yy_c_buf_p = '\0'; \ yyleng = n; \ } \ while ( 0 ) /* Internal utility routines. */ #ifndef yytext_ptr #ifdef YY_USE_PROTOS static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) #else static void yy_flex_strncpy( s1, s2, n ) char *s1; yyconst char *s2; int n; #endif { register int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } #endif #ifdef YY_NEED_STRLEN #ifdef YY_USE_PROTOS static int yy_flex_strlen( yyconst char *s ) #else static int yy_flex_strlen( s ) yyconst char *s; #endif { register int n; for ( n = 0; s[n]; ++n ) ; return n; } #endif #ifdef YY_USE_PROTOS static void *yy_flex_alloc( yy_size_t size ) #else static void *yy_flex_alloc( size ) yy_size_t size; #endif { return (void *) malloc( size ); } #ifdef YY_USE_PROTOS static void *yy_flex_realloc( void *ptr, yy_size_t size ) #else static void *yy_flex_realloc( ptr, size ) void *ptr; yy_size_t size; #endif { /* The cast to (char *) in the following accommodates both * implementations that use char* generic pointers, and those * that use void* generic pointers. It works with the latter * because both ANSI C and C++ allow castless assignment from * any pointer type to void*, and deal with argument conversions * as though doing an assignment. */ return (void *) realloc( (char *) ptr, size ); } #ifdef YY_USE_PROTOS static void yy_flex_free( void *ptr ) #else static void yy_flex_free( ptr ) void *ptr; #endif { free( ptr ); } #if YY_MAIN int main() { yylex(); return 0; } #endif #line 803 "hif_l.l" yywrap() { return 1; } hif_getc() { int c; c = tmp_hif[tmp_hif_index]; if (c == 0) c = EOF; else tmp_hif_index++; return c; }