Annotation of Gnu-Mach/mig/lexxer.c, revision 1.1.1.1

1.1       root        1: /* A lexical scanner generated by flex */
                      2: 
                      3: /* Scanner skeleton version:
                      4:  * $Header: /gd4/gnu/cvsroot/gnumach/mig/lexxer.c,v 1.1 1997/04/14 20:28:00 thomas Exp $
                      5:  */
                      6: 
                      7: #define FLEX_SCANNER
                      8: #define YY_FLEX_MAJOR_VERSION 2
                      9: #define YY_FLEX_MINOR_VERSION 5
                     10: 
                     11: #include <stdio.h>
                     12: 
                     13: 
                     14: /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
                     15: #ifdef c_plusplus
                     16: #ifndef __cplusplus
                     17: #define __cplusplus
                     18: #endif
                     19: #endif
                     20: 
                     21: 
                     22: #ifdef __cplusplus
                     23: 
                     24: #include <stdlib.h>
                     25: #include <unistd.h>
                     26: 
                     27: /* Use prototypes in function declarations. */
                     28: #define YY_USE_PROTOS
                     29: 
                     30: /* The "const" storage-class-modifier is valid. */
                     31: #define YY_USE_CONST
                     32: 
                     33: #else  /* ! __cplusplus */
                     34: 
                     35: #if __STDC__
                     36: 
                     37: #define YY_USE_PROTOS
                     38: #define YY_USE_CONST
                     39: 
                     40: #endif /* __STDC__ */
                     41: #endif /* ! __cplusplus */
                     42: 
                     43: #ifdef __TURBOC__
                     44:  #pragma warn -rch
                     45:  #pragma warn -use
                     46: #include <io.h>
                     47: #include <stdlib.h>
                     48: #define YY_USE_CONST
                     49: #define YY_USE_PROTOS
                     50: #endif
                     51: 
                     52: #ifdef YY_USE_CONST
                     53: #define yyconst const
                     54: #else
                     55: #define yyconst
                     56: #endif
                     57: 
                     58: 
                     59: #ifdef YY_USE_PROTOS
                     60: #define YY_PROTO(proto) proto
                     61: #else
                     62: #define YY_PROTO(proto) ()
                     63: #endif
                     64: 
                     65: /* Returned upon end-of-file. */
                     66: #define YY_NULL 0
                     67: 
                     68: /* Promotes a possibly negative, possibly signed char to an unsigned
                     69:  * integer for use as an array index.  If the signed char is negative,
                     70:  * we want to instead treat it as an 8-bit unsigned char, hence the
                     71:  * double cast.
                     72:  */
                     73: #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
                     74: 
                     75: /* Enter a start condition.  This macro really ought to take a parameter,
                     76:  * but we do it the disgusting crufty way forced on us by the ()-less
                     77:  * definition of BEGIN.
                     78:  */
                     79: #define BEGIN yy_start = 1 + 2 *
                     80: 
                     81: /* Translate the current start state into a value that can be later handed
                     82:  * to BEGIN to return to the state.  The YYSTATE alias is for lex
                     83:  * compatibility.
                     84:  */
                     85: #define YY_START ((yy_start - 1) / 2)
                     86: #define YYSTATE YY_START
                     87: 
                     88: /* Action number for EOF rule of a given start state. */
                     89: #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
                     90: 
                     91: /* Special action meaning "start processing a new file". */
                     92: #define YY_NEW_FILE yyrestart( yyin )
                     93: 
                     94: #define YY_END_OF_BUFFER_CHAR 0
                     95: 
                     96: /* Size of default input buffer. */
                     97: #define YY_BUF_SIZE 16384
                     98: 
                     99: typedef struct yy_buffer_state *YY_BUFFER_STATE;
                    100: 
                    101: extern int yyleng;
                    102: extern FILE *yyin, *yyout;
                    103: 
                    104: #define EOB_ACT_CONTINUE_SCAN 0
                    105: #define EOB_ACT_END_OF_FILE 1
                    106: #define EOB_ACT_LAST_MATCH 2
                    107: 
                    108: /* The funky do-while in the following #define is used to turn the definition
                    109:  * int a single C statement (which needs a semi-colon terminator).  This
                    110:  * avoids problems with code like:
                    111:  *
                    112:  *     if ( condition_holds )
                    113:  *             yyless( 5 );
                    114:  *     else
                    115:  *             do_something_else();
                    116:  *
                    117:  * Prior to using the do-while the compiler would get upset at the
                    118:  * "else" because it interpreted the "if" statement as being all
                    119:  * done when it reached the ';' after the yyless() call.
                    120:  */
                    121: 
                    122: /* Return all but the first 'n' matched characters back to the input stream. */
                    123: 
                    124: #define yyless(n) \
                    125:        do \
                    126:                { \
                    127:                /* Undo effects of setting up yytext. */ \
                    128:                *yy_cp = yy_hold_char; \
                    129:                yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
                    130:                YY_DO_BEFORE_ACTION; /* set up yytext again */ \
                    131:                } \
                    132:        while ( 0 )
                    133: 
                    134: #define unput(c) yyunput( c, yytext_ptr )
                    135: 
                    136: /* The following is because we cannot portably get our hands on size_t
                    137:  * (without autoconf's help, which isn't available because we want
                    138:  * flex-generated scanners to compile on their own).
                    139:  */
                    140: typedef unsigned int yy_size_t;
                    141: 
                    142: 
                    143: struct yy_buffer_state
                    144:        {
                    145:        FILE *yy_input_file;
                    146: 
                    147:        char *yy_ch_buf;                /* input buffer */
                    148:        char *yy_buf_pos;               /* current position in input buffer */
                    149: 
                    150:        /* Size of input buffer in bytes, not including room for EOB
                    151:         * characters.
                    152:         */
                    153:        yy_size_t yy_buf_size;
                    154: 
                    155:        /* Number of characters read into yy_ch_buf, not including EOB
                    156:         * characters.
                    157:         */
                    158:        int yy_n_chars;
                    159: 
                    160:        /* Whether we "own" the buffer - i.e., we know we created it,
                    161:         * and can realloc() it to grow it, and should free() it to
                    162:         * delete it.
                    163:         */
                    164:        int yy_is_our_buffer;
                    165: 
                    166:        /* Whether this is an "interactive" input source; if so, and
                    167:         * if we're using stdio for input, then we want to use getc()
                    168:         * instead of fread(), to make sure we stop fetching input after
                    169:         * each newline.
                    170:         */
                    171:        int yy_is_interactive;
                    172: 
                    173:        /* Whether we're considered to be at the beginning of a line.
                    174:         * If so, '^' rules will be active on the next match, otherwise
                    175:         * not.
                    176:         */
                    177:        int yy_at_bol;
                    178: 
                    179:        /* Whether to try to fill the input buffer when we reach the
                    180:         * end of it.
                    181:         */
                    182:        int yy_fill_buffer;
                    183: 
                    184:        int yy_buffer_status;
                    185: #define YY_BUFFER_NEW 0
                    186: #define YY_BUFFER_NORMAL 1
                    187:        /* When an EOF's been seen but there's still some text to process
                    188:         * then we mark the buffer as YY_EOF_PENDING, to indicate that we
                    189:         * shouldn't try reading from the input source any more.  We might
                    190:         * still have a bunch of tokens to match, though, because of
                    191:         * possible backing-up.
                    192:         *
                    193:         * When we actually see the EOF, we change the status to "new"
                    194:         * (via yyrestart()), so that the user can continue scanning by
                    195:         * just pointing yyin at a new input file.
                    196:         */
                    197: #define YY_BUFFER_EOF_PENDING 2
                    198:        };
                    199: 
                    200: static YY_BUFFER_STATE yy_current_buffer = 0;
                    201: 
                    202: /* We provide macros for accessing buffer states in case in the
                    203:  * future we want to put the buffer states in a more general
                    204:  * "scanner state".
                    205:  */
                    206: #define YY_CURRENT_BUFFER yy_current_buffer
                    207: 
                    208: 
                    209: /* yy_hold_char holds the character lost when yytext is formed. */
                    210: static char yy_hold_char;
                    211: 
                    212: static int yy_n_chars;         /* number of characters read into yy_ch_buf */
                    213: 
                    214: 
                    215: int yyleng;
                    216: 
                    217: /* Points to current character in buffer. */
                    218: static char *yy_c_buf_p = (char *) 0;
                    219: static int yy_init = 1;                /* whether we need to initialize */
                    220: static int yy_start = 0;       /* start state number */
                    221: 
                    222: /* Flag which is used to allow yywrap()'s to do buffer switches
                    223:  * instead of setting up a fresh yyin.  A bit of a hack ...
                    224:  */
                    225: static int yy_did_buffer_switch_on_eof;
                    226: 
                    227: void yyrestart YY_PROTO(( FILE *input_file ));
                    228: 
                    229: void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
                    230: void yy_load_buffer_state YY_PROTO(( void ));
                    231: YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
                    232: void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
                    233: void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
                    234: void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
                    235: #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
                    236: 
                    237: YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
                    238: YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str ));
                    239: YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
                    240: 
                    241: static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
                    242: static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
                    243: static void yy_flex_free YY_PROTO(( void * ));
                    244: 
                    245: #define yy_new_buffer yy_create_buffer
                    246: 
                    247: #define yy_set_interactive(is_interactive) \
                    248:        { \
                    249:        if ( ! yy_current_buffer ) \
                    250:                yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
                    251:        yy_current_buffer->yy_is_interactive = is_interactive; \
                    252:        }
                    253: 
                    254: #define yy_set_bol(at_bol) \
                    255:        { \
                    256:        if ( ! yy_current_buffer ) \
                    257:                yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
                    258:        yy_current_buffer->yy_at_bol = at_bol; \
                    259:        }
                    260: 
                    261: #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
                    262: 
                    263: typedef unsigned char YY_CHAR;
                    264: FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
                    265: typedef int yy_state_type;
                    266: extern char *yytext;
                    267: #define yytext_ptr yytext
                    268: 
                    269: static yy_state_type yy_get_previous_state YY_PROTO(( void ));
                    270: static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
                    271: static int yy_get_next_buffer YY_PROTO(( void ));
                    272: static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
                    273: 
                    274: /* Done after the current pattern has been matched and before the
                    275:  * corresponding action - sets up yytext.
                    276:  */
                    277: #define YY_DO_BEFORE_ACTION \
                    278:        yytext_ptr = yy_bp; \
                    279:        yyleng = (int) (yy_cp - yy_bp); \
                    280:        yy_hold_char = *yy_cp; \
                    281:        *yy_cp = '\0'; \
                    282:        yy_c_buf_p = yy_cp;
                    283: 
                    284: #define YY_NUM_RULES 100
                    285: #define YY_END_OF_BUFFER 101
                    286: static yyconst short int yy_accept[515] =
                    287:     {   0,
                    288:         0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
                    289:         0,    0,  101,   99,   97,   98,   94,   77,   78,   75,
                    290:        73,   72,   74,   76,   88,   70,   71,   82,   79,   83,
                    291:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    292:        87,   87,   87,   87,   87,   87,   87,   84,   85,   80,
                    293:        87,   86,   81,   89,   99,   99,   99,   96,   96,   95,
                    294:        94,    0,    0,   93,   88,   87,   87,   87,   87,   87,
                    295:        87,   87,   87,   87,   87,   87,   11,   87,   87,   87,
                    296:        87,   87,   19,   87,   87,   87,   87,   87,   87,   87,
                    297:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    298: 
                    299:        89,    0,   90,    0,    0,   91,    0,    0,    0,   87,
                    300:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    301:        87,   87,   87,   87,   87,   87,   87,   87,   87,   12,
                    302:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    303:        87,   87,   87,   87,   87,   87,   87,    0,   92,   87,
                    304:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    305:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    306:        87,   87,   87,   87,   87,   87,   87,   87,   87,   31,
                    307:        87,   87,   87,   28,   87,   87,   87,   87,   18,   87,
                    308:        87,   36,   87,   87,   87,   87,   20,   87,   87,   13,
                    309: 
                    310:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    311:        87,   87,   24,   87,   87,   87,   87,   87,   87,   87,
                    312:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    313:        87,   87,   87,   25,   33,   40,   87,   87,   87,   87,
                    314:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    315:        87,   87,   87,   32,   87,   87,   87,   87,   87,   87,
                    316:        87,   87,   87,   42,   87,   87,   87,   87,   87,   87,
                    317:        87,   87,   87,   87,   34,   87,   87,   87,   87,    1,
                    318:        87,   87,   87,   87,   87,   27,   87,   87,   26,   87,
                    319:        87,   87,   87,   87,   87,   39,   87,    2,   87,   87,
                    320: 
                    321:        87,   87,   87,    8,   87,   87,   87,   87,   87,   87,
                    322:        87,   87,   87,   87,   87,   87,   87,   87,   87,    9,
                    323:        87,   87,   37,   87,   41,   87,   87,   87,    7,   87,
                    324:        87,   87,    3,   15,   87,   87,   87,   87,   87,   87,
                    325:        87,    6,   87,   87,   45,   87,   35,   87,   30,   87,
                    326:        43,   10,   87,   87,   44,   87,   87,   87,   87,   17,
                    327:        16,   22,   38,   87,   87,   46,   14,   23,   87,   87,
                    328:        87,   29,   87,   21,   87,   87,   87,   87,    5,   87,
                    329:        87,   87,   87,   87,   87,   87,   87,   87,   87,    4,
                    330:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    331: 
                    332:        87,   87,   48,   87,   87,   87,   87,   87,   87,   87,
                    333:        87,   87,   87,   87,   87,   87,   54,   53,   87,   87,
                    334:        87,   87,   87,   87,   56,   87,   87,   87,   87,   87,
                    335:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    336:        87,   87,   87,   87,   87,   87,   57,   87,   49,   87,
                    337:        87,   87,   87,   87,   87,   87,   87,   87,   87,   87,
                    338:        87,   87,   87,   87,   87,   87,   87,   87,   87,   58,
                    339:        87,   60,   87,   87,   87,   55,   61,   87,   62,   87,
                    340:        65,   87,   67,   87,   50,   51,   52,   87,   87,   87,
                    341:        87,   87,   87,   87,   87,   87,   87,   69,   87,   87,
                    342: 
                    343:        87,   87,   59,   87,   66,   87,   47,   87,   87,   87,
                    344:        63,   64,   68,    0
                    345:     } ;
                    346: 
                    347: static yyconst int yy_ec[256] =
                    348:     {   0,
                    349:         1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
                    350:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    351:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    352:         1,    4,    1,    5,    6,    7,    1,    1,    1,    8,
                    353:         9,   10,   11,   12,   13,    7,   14,   15,   16,   17,
                    354:        18,   19,   15,   20,   15,   21,   15,   22,   23,   24,
                    355:        25,   26,    1,    1,   27,   28,   29,   30,   31,   32,
                    356:        33,   34,   35,   36,   37,   38,   39,   40,   41,   42,
                    357:        43,   44,   45,   46,   47,   48,   49,   50,   51,   36,
                    358:        52,    1,   53,   54,   55,    1,   56,   57,   58,   59,
                    359: 
                    360:        60,   32,   61,   62,   63,   36,   64,   65,   66,   67,
                    361:        68,   69,   43,   70,   71,   72,   73,   74,   49,   50,
                    362:        75,   36,    1,   76,    1,   77,    1,    1,    1,    1,
                    363:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    364:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    365:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    366:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    367:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    368:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    369:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    370: 
                    371:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    372:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    373:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    374:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    375:         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
                    376:         1,    1,    1,    1,    1
                    377:     } ;
                    378: 
                    379: static yyconst int yy_meta[78] =
                    380:     {   0,
                    381:         1,    1,    2,    1,    1,    1,    3,    1,    1,    1,
                    382:         1,    1,    3,    3,    4,    4,    4,    4,    4,    4,
                    383:         4,    1,    1,    1,    1,    1,    4,    4,    4,    4,
                    384:         4,    4,    4,    4,    4,    4,    4,    4,    4,    4,
                    385:         4,    4,    4,    4,    4,    4,    4,    4,    4,    4,
                    386:         4,    1,    1,    1,    4,    4,    4,    4,    4,    4,
                    387:         4,    4,    4,    4,    4,    4,    4,    4,    4,    4,
                    388:         4,    4,    4,    4,    4,    1,    1
                    389:     } ;
                    390: 
                    391: static yyconst short int yy_base[524] =
                    392:     {   0,
                    393:         0,    3,    9,  979,   86,  163,   97,  101,  111,  124,
                    394:       115,  129,  984,  986,  986,  986,  132,  986,  986,  986,
                    395:       986,  986,  986,  986,  139,  986,  986,  986,  986,  986,
                    396:        76,    0,  135,   62,  100,  131,  152,  152,  134,  143,
                    397:       162,  152,  169,  210,  126,  189,  172,  986,  986,  986,
                    398:       150,  986,  986,    0,  978,  956,  976,  986,  986,  986,
                    399:       246,  273,  282,  302,  293,    0,  181,  185,  171,  163,
                    400:       197,  198,  260,  202,  186,  202,  283,  287,  211,  951,
                    401:       282,  284,    0,  286,  211,  285,  289,  293,  290,  294,
                    402:       300,  305,  297,  297,  314,  303,  307,  316,  317,  315,
                    403: 
                    404:         0,  974,  986,  952,  972,  986,  377,  381,  971,  332,
                    405:       334,  300,  333,  330,  319,  342,  338,  346,  360,  358,
                    406:       356,  360,  359,  364,  366,  941,  367,  381,  386,  369,
                    407:       368,  387,  374,  379,  373,  375,  374,  381,  382,  383,
                    408:       381,  386,  403,  397,  407,  392,  407,  969,  986,  405,
                    409:       409,  410,  428,  416,  417,  426,  423,  424,  423,  426,
                    410:       425,  445,  425,  427,  443,  918,  433,  446,  447,  447,
                    411:       439,  446,  458,  460,  447,  469,  469,  474,  470,    0,
                    412:       475,  485,  464,    0,  476,  482,  479,  470,    0,  488,
                    413:       493,    0,  480,  492,  489,  481,    0,  496,  490,    0,
                    414: 
                    415:       493,  504,  503,  507,  933,  503,  928,  523,  510,  531,
                    416:       505,  531,    0,  522,  518,  526,  525,  536,  527,  519,
                    417:       528,  531,  533,  529,  537,  543,  543,  541,  533,  546,
                    418:       559,  563,  557,    0,    0,    0,  558,  567,  925,  566,
                    419:       565,  571,  569,  576,  574,  572,  579,  576,  592,  604,
                    420:       586,  578,  585,    0,  585,  589,  595,  608,  603,  608,
                    421:       605,  611,  625,    0,  613,  620,  625,  635,  622,  936,
                    422:       629,  630,  634,  639,    0,  636,  631,  637,  637,    0,
                    423:       641,  652,  640,  644,  648,    0,  649,  660,    0,  653,
                    424:       936,  665,  653,  652,  673,    0,  667,    0,  678,  671,
                    425: 
                    426:       682,  912,  678,    0,  678,  683,  689,  693,  682,  688,
                    427:       688,  692,  701,  695,  687,  694,  701,  699,  702,    0,
                    428:       698,  705,    0,  706,    0,  704,  711,  920,    0,  719,
                    429:       728,  727,    0,    0,  722,  720,  721,  933,  743,  727,
                    430:       733,    0,  734,  914,    0,  744,    0,  751,    0,  912,
                    431:         0,    0,  754,  738,    0,  912,  750,  755,  754,    0,
                    432:         0,    0,    0,  749,  919,    0,    0,    0,  910,  757,
                    433:       751,    0,  928,    0,  749,  766,  903,  754,    0,  792,
                    434:       769,  244,  768,  917,   96,  915,  924,  908,  913,    0,
                    435:       906,  910,  904,  922,  906,  901,  909,  897,  192,  917,
                    436: 
                    437:       899,  897,    0,  903,  909,  895,  887,  906,  905,  904,
                    438:       883,  887,  894,  896,  884,  898,    0,    0,  873,  894,
                    439:       871,  870,  885,  868,    0,  882,  877,  893,  874,  887,
                    440:       872,   97,  875,  763,  882,  867,  873,  881,  867,  879,
                    441:       878,  877,  863,  879,  874,  873,  848,  873,    0,  861,
                    442:       845,  859,  869,  857,  854,  856,  865,  853,  863,  845,
                    443:       860,  812,  859,  857,  857,  852,  854,  853,  853,    0,
                    444:       835,    0,  861,  863,  860,    0,  823,  842,  821,  840,
                    445:         0,  839,  818,  828,    0,    0,    0,  830,  822,  822,
                    446:       830,  807,  797,  804,  785,  792,  774,    0,  494,  329,
                    447: 
                    448:       319,  267,    0,  249,    0,  184,    0,  114,  112,   93,
                    449:         0,    0,    0,  986,  839,  843,  847,    4,  849,  853,
                    450:       857,  861,  865
                    451:     } ;
                    452: 
                    453: static yyconst short int yy_def[524] =
                    454:     {   0,
                    455:       515,  515,  514,    3,  516,  516,  515,  515,  515,  515,
                    456:       517,  517,  514,  514,  514,  514,  514,  514,  514,  514,
                    457:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    458:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    459:       518,  518,  518,  518,  518,  518,  518,  514,  514,  514,
                    460:       518,  514,  514,  519,  520,  521,  522,  514,  514,  514,
                    461:       514,  514,  514,  514,  514,  518,  518,  518,  518,  518,
                    462:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    463:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    464:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    465: 
                    466:       519,  520,  514,  521,  522,  514,  514,  514,  523,  518,
                    467:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    468:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    469:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    470:       518,  518,  518,  518,  518,  518,  518,  523,  514,  518,
                    471:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    472:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    473:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    474:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    475:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    476: 
                    477:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    478:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    479:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    480:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    481:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    482:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    483:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    484:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    485:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    486:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    487: 
                    488:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    489:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    490:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    491:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    492:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    493:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    494:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    495:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    496:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    497:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    498: 
                    499:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    500:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    501:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    502:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    503:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    504:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    505:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    506:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    507:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    508:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    509: 
                    510:       518,  518,  518,  518,  518,  518,  518,  518,  518,  518,
                    511:       518,  518,  518,    0,  514,  514,  514,  514,  514,  514,
                    512:       514,  514,  514
                    513:     } ;
                    514: 
                    515: static yyconst short int yy_nxt[1064] =
                    516:     {   0,
                    517:       514,   15,   16,   15,   15,   16,   15,   66,   17,   14,
                    518:        15,   16,   15,   14,   14,   14,   18,   19,   20,   21,
                    519:        22,   23,   24,   25,   25,   25,   25,   25,   25,   25,
                    520:        26,   27,   28,   29,   30,   31,   32,   33,   34,   35,
                    521:        36,   32,   32,   37,   32,   38,   32,   39,   40,   41,
                    522:        42,   32,   43,   44,   45,   46,   32,   47,   32,   32,
                    523:        48,   49,   50,   32,   31,   32,   33,   34,   35,   32,
                    524:        32,   37,   38,   32,   51,   40,   41,   42,   43,   44,
                    525:        45,   46,   32,   32,   52,   53,   14,   15,   16,   15,
                    526:        14,   14,   73,   14,   14,   14,   14,   14,   15,   16,
                    527: 
                    528:        15,   55,   15,   16,   15,   55,   17,   14,   14,   14,
                    529:        14,   14,   15,   16,   15,   57,   59,   60,   59,   67,
                    530:        56,   73,  397,  513,   56,   15,   16,   15,   57,   17,
                    531:        59,   60,   59,   62,   61,   63,  398,   14,   14,   14,
                    532:       441,  442,  512,   74,  511,   67,   64,   64,   64,   64,
                    533:        64,   64,   64,   65,   65,   65,   65,   65,   65,   65,
                    534:        80,   14,   14,   14,   15,   16,   15,   14,   17,   74,
                    535:        14,   14,   14,   14,   14,   68,   96,   75,   81,   69,
                    536:        70,   71,   79,   82,   14,   14,   14,   14,   14,   72,
                    537:        76,   77,   85,   83,   81,   86,   78,   87,  100,   88,
                    538: 
                    539:        96,  112,   68,   75,   81,   69,   70,   71,   84,   89,
                    540:        82,   79,  510,  113,   14,   14,   14,   76,   77,   85,
                    541:        81,   86,   78,   97,  110,  119,   87,  100,   88,  411,
                    542:       112,  111,   98,   99,   84,  412,   89,  113,   14,   14,
                    543:        90,  114,  115,  120,   91,  118,   92,   62,  131,   63,
                    544:       110,   97,  119,   93,  125,   94,   95,  111,   98,   99,
                    545:        64,   64,   64,   64,   64,   64,   64,  114,  115,   90,
                    546:       120,  118,   91,   92,   62,  131,   62,  509,  391,   93,
                    547:       125,   94,   95,   62,  392,   63,  116,  107,  107,  107,
                    548:       107,  107,  107,  107,  393,  508,   64,   64,   64,   64,
                    549: 
                    550:        64,   64,   64,  108,  117,  108,  109,   65,   65,   65,
                    551:        65,   65,   65,   65,  127,  116,   64,   64,   64,   64,
                    552:        64,   64,   64,  121,  123,  132,  124,  140,  122,  128,
                    553:       117,  130,  129,  133,  134,  135,  136,  137,  138,  139,
                    554:       141,  142,  127,  152,  143,  144,  145,  146,  507,  147,
                    555:       121,  123,  132,  124,  122,  128,  140,  130,  150,  133,
                    556:       154,  134,  136,  137,  155,  138,  141,  139,  506,  152,
                    557:       142,  143,  144,  151,  153,  145,  146,  147,  108,  156,
                    558:       108,  109,  108,  157,  108,  109,  158,  150,  159,  154,
                    559:       155,  107,  107,  107,  107,  107,  107,  107,  160,  163,
                    560: 
                    561:       151,  153,  161,  162,  164,  165,  156,  167,  174,  157,
                    562:       169,  168,  170,  158,  171,  173,  175,  159,  172,  176,
                    563:       177,  178,  179,  180,  181,  160,  163,  182,  161,  162,
                    564:       183,  164,  165,  184,  167,  187,  174,  168,  185,  169,
                    565:       171,  170,  172,  175,  173,  176,  177,  178,  186,  179,
                    566:       180,  181,  188,  182,  190,  189,  183,  191,  192,  193,
                    567:       194,  187,  184,  195,  202,  185,  196,  197,  198,  199,
                    568:       200,  201,  203,  204,  206,  186,  207,  208,  188,  189,
                    569:       190,  209,  210,  191,  211,  193,  194,  192,  212,  213,
                    570:       195,  202,  196,  197,  198,  199,  200,  214,  203,  215,
                    571: 
                    572:       201,  206,  204,  216,  217,  207,  208,  218,  210,  209,
                    573:       219,  211,  220,  221,  222,  226,  223,  212,  213,  224,
                    574:       225,  214,  227,  228,  505,  229,  230,  232,  215,  231,
                    575:       233,  216,  235,  217,  218,  234,  236,  219,  222,  220,
                    576:       237,  226,  221,  223,  238,  245,  224,  225,  240,  242,
                    577:       227,  229,  228,  232,  230,  243,  231,  244,  233,  235,
                    578:       246,  234,  248,  247,  236,  249,  251,  237,  250,  253,
                    579:       252,  238,  245,  254,  240,  255,  256,  259,  242,  257,
                    580:       258,  243,  260,  262,  261,  263,  244,  264,  248,  246,
                    581:       247,  265,  249,  253,  250,  251,  252,  266,  267,  254,
                    582: 
                    583:       271,  255,  256,  257,  272,  259,  258,  262,  273,  260,
                    584:       261,  268,  263,  269,  274,  275,  264,  276,  277,  278,
                    585:       265,  279,  280,  286,  266,  267,  287,  284,  271,  285,
                    586:       288,  272,  281,  282,  289,  273,  290,  268,  291,  269,
                    587:       274,  292,  275,  276,  277,  283,  278,  279,  293,  286,
                    588:       294,  280,  295,  287,  284,  285,  288,  296,  297,  298,
                    589:       289,  281,  282,  290,  299,  300,  301,  291,  292,  303,
                    590:       304,  305,  283,  306,  308,  293,  294,  307,  310,  295,
                    591:       309,  311,  312,  313,  297,  296,  298,  314,  315,  316,
                    592:       317,  299,  301,  318,  300,  320,  303,  304,  305,  321,
                    593: 
                    594:       308,  306,  322,  323,  307,  310,  309,  324,  311,  313,
                    595:       325,  312,  327,  314,  326,  315,  316,  329,  330,  317,
                    596:       318,  331,  332,  333,  320,  321,  322,  334,  335,  336,
                    597:       337,  338,  323,  340,  324,  339,  344,  341,  325,  342,
                    598:       326,  327,  343,  345,  329,  330,  346,  351,  331,  347,
                    599:       332,  348,  333,  334,  349,  335,  336,  337,  352,  340,
                    600:       338,  353,  339,  341,  344,  354,  342,  356,  343,  345,
                    601:       355,  358,  359,  346,  363,  347,  351,  348,  360,  361,
                    602:       349,  364,  366,  367,  369,  370,  375,  352,  371,  353,
                    603:       376,  354,  372,  356,  355,  378,  379,  381,  359,  390,
                    604: 
                    605:       358,  394,  444,  363,  360,  361,  445,  446,  395,  367,
                    606:       364,  366,  369,  504,  370,  375,  371,  376,  372,  382,
                    607:       383,  378,  503,  381,  502,  379,  384,  473,  390,  474,
                    608:       385,  475,  476,  386,  501,  387,  388,  500,  389,   14,
                    609:        14,   14,   14,   54,   54,   54,   54,   58,   58,   58,
                    610:        58,  101,  101,  102,  499,  102,  102,  104,  498,  104,
                    611:       104,  105,  497,  105,  105,  148,  148,  148,  148,  496,
                    612:       495,  494,  493,  492,  491,  490,  489,  488,  487,  486,
                    613:       485,  484,  483,  482,  481,  480,  479,  478,  477,  472,
                    614:       471,  470,  469,  468,  467,  466,  465,  464,  463,  462,
                    615: 
                    616:       461,  460,  459,  458,  457,  456,  455,  454,  453,  452,
                    617:       451,  450,  449,  448,  447,  443,  440,  439,  438,  437,
                    618:       436,  435,  434,  433,  432,  431,  430,  429,  428,  427,
                    619:       426,  425,  424,  423,  422,  421,  420,  419,  418,  417,
                    620:       416,  415,  414,  413,  410,  409,  408,  407,  406,  405,
                    621:       404,  403,  402,  401,  400,  399,  396,  380,  377,  374,
                    622:       373,  368,  365,  362,  357,  350,  328,  319,  302,  270,
                    623:       241,  239,  205,  149,  166,  149,  106,  103,  103,  126,
                    624:       106,  103,  103,  514,   17,   13,  514,  514,  514,  514,
                    625:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    626: 
                    627:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    628:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    629:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    630:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    631:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    632:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    633:       514,  514,  514
                    634:     } ;
                    635: 
                    636: static yyconst short int yy_chk[1064] =
                    637:     {   0,
                    638:         0,    1,    1,    1,    2,    2,    2,  518,    2,    3,
                    639:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    640:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    641:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    642:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    643:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    644:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    645:         3,    3,    3,    3,    3,    3,    3,    3,    3,    3,
                    646:         3,    3,    3,    3,    3,    3,    5,    5,    5,    5,
                    647:         5,    5,   34,    5,    5,    5,    5,    5,    7,    7,
                    648: 
                    649:         7,    7,    8,    8,    8,    8,    8,    5,    5,    5,
                    650:         5,    5,    9,    9,    9,    9,   11,   11,   11,   31,
                    651:         7,   34,  385,  510,    8,   10,   10,   10,   10,   10,
                    652:        12,   12,   12,   17,   12,   17,  385,    5,    5,    5,
                    653:       432,  432,  509,   35,  508,   31,   17,   17,   17,   17,
                    654:        17,   17,   17,   25,   25,   25,   25,   25,   25,   25,
                    655:        39,    5,    5,    6,    6,    6,    6,    6,    6,   35,
                    656:         6,    6,    6,    6,    6,   33,   45,   36,   39,   33,
                    657:        33,   33,   38,   40,    6,    6,    6,    6,    6,   33,
                    658:        37,   37,   42,   41,   51,   42,   37,   43,   47,   43,
                    659: 
                    660:        45,   69,   33,   36,   39,   33,   33,   33,   41,   43,
                    661:        40,   38,  506,   70,    6,    6,    6,   37,   37,   42,
                    662:        51,   42,   37,   46,   67,   75,   43,   47,   43,  399,
                    663:        69,   68,   46,   46,   41,  399,   43,   70,    6,    6,
                    664:        44,   71,   72,   76,   44,   74,   44,   61,   85,   61,
                    665:        67,   46,   75,   44,   79,   44,   44,   68,   46,   46,
                    666:        61,   61,   61,   61,   61,   61,   61,   71,   72,   44,
                    667:        76,   74,   44,   44,   62,   85,   62,  504,  382,   44,
                    668:        79,   44,   44,   63,  382,   63,   73,   62,   62,   62,
                    669:        62,   62,   62,   62,  382,  502,   63,   63,   63,   63,
                    670: 
                    671:        63,   63,   63,   64,   73,   64,   64,   65,   65,   65,
                    672:        65,   65,   65,   65,   81,   73,   64,   64,   64,   64,
                    673:        64,   64,   64,   77,   78,   86,   78,   93,   77,   82,
                    674:        73,   84,   82,   87,   88,   88,   89,   90,   91,   92,
                    675:        94,   95,   81,  112,   96,   97,   98,   99,  501,  100,
                    676:        77,   78,   86,   78,   77,   82,   93,   84,  110,   87,
                    677:       114,   88,   89,   90,  115,   91,   94,   92,  500,  112,
                    678:        95,   96,   97,  111,  113,   98,   99,  100,  107,  116,
                    679:       107,  107,  108,  117,  108,  108,  118,  110,  119,  114,
                    680:       115,  107,  107,  107,  107,  107,  107,  107,  120,  123,
                    681: 
                    682:       111,  113,  121,  122,  124,  125,  116,  127,  133,  117,
                    683:       128,  127,  129,  118,  130,  132,  134,  119,  131,  135,
                    684:       136,  137,  138,  139,  140,  120,  123,  141,  121,  122,
                    685:       142,  124,  125,  143,  127,  146,  133,  127,  144,  128,
                    686:       130,  129,  131,  134,  132,  135,  136,  137,  145,  138,
                    687:       139,  140,  147,  141,  151,  150,  142,  152,  153,  154,
                    688:       155,  146,  143,  156,  163,  144,  157,  158,  159,  160,
                    689:       161,  162,  164,  165,  167,  145,  168,  169,  147,  150,
                    690:       151,  170,  171,  152,  172,  154,  155,  153,  173,  174,
                    691:       156,  163,  157,  158,  159,  160,  161,  175,  164,  176,
                    692: 
                    693:       162,  167,  165,  177,  178,  168,  169,  179,  171,  170,
                    694:       179,  172,  181,  182,  183,  188,  185,  173,  174,  186,
                    695:       187,  175,  190,  191,  499,  193,  194,  196,  176,  195,
                    696:       198,  177,  201,  178,  179,  199,  202,  179,  183,  181,
                    697:       203,  188,  182,  185,  204,  211,  186,  187,  206,  208,
                    698:       190,  193,  191,  196,  194,  209,  195,  210,  198,  201,
                    699:       212,  199,  215,  214,  202,  216,  218,  203,  217,  220,
                    700:       219,  204,  211,  221,  206,  222,  223,  226,  208,  224,
                    701:       225,  209,  227,  229,  228,  230,  210,  231,  215,  212,
                    702:       214,  232,  216,  220,  217,  218,  219,  233,  237,  221,
                    703: 
                    704:       240,  222,  223,  224,  241,  226,  225,  229,  242,  227,
                    705:       228,  238,  230,  238,  243,  244,  231,  245,  246,  247,
                    706:       232,  248,  249,  252,  233,  237,  253,  251,  240,  251,
                    707:       255,  241,  250,  250,  256,  242,  257,  238,  258,  238,
                    708:       243,  259,  244,  245,  246,  250,  247,  248,  260,  252,
                    709:       261,  249,  262,  253,  251,  251,  255,  263,  265,  266,
                    710:       256,  250,  250,  257,  267,  268,  269,  258,  259,  271,
                    711:       272,  273,  250,  274,  277,  260,  261,  276,  279,  262,
                    712:       278,  281,  282,  283,  265,  263,  266,  284,  285,  287,
                    713:       288,  267,  269,  290,  268,  292,  271,  272,  273,  293,
                    714: 
                    715:       277,  274,  294,  295,  276,  279,  278,  297,  281,  283,
                    716:       299,  282,  301,  284,  300,  285,  287,  303,  305,  288,
                    717:       290,  306,  307,  308,  292,  293,  294,  309,  310,  311,
                    718:       312,  313,  295,  315,  297,  314,  319,  316,  299,  317,
                    719:       300,  301,  318,  321,  303,  305,  322,  330,  306,  324,
                    720:       307,  326,  308,  309,  327,  310,  311,  312,  331,  315,
                    721:       313,  332,  314,  316,  319,  335,  317,  337,  318,  321,
                    722:       336,  339,  340,  322,  346,  324,  330,  326,  341,  343,
                    723:       327,  348,  353,  354,  357,  358,  370,  331,  359,  332,
                    724:       371,  335,  364,  337,  336,  375,  376,  378,  340,  381,
                    725: 
                    726:       339,  383,  434,  346,  341,  343,  434,  434,  383,  354,
                    727:       348,  353,  357,  497,  358,  370,  359,  371,  364,  380,
                    728:       380,  375,  496,  378,  495,  376,  380,  462,  381,  462,
                    729:       380,  462,  462,  380,  494,  380,  380,  493,  380,  515,
                    730:       515,  515,  515,  516,  516,  516,  516,  517,  517,  517,
                    731:       517,  519,  519,  520,  492,  520,  520,  521,  491,  521,
                    732:       521,  522,  490,  522,  522,  523,  523,  523,  523,  489,
                    733:       488,  484,  483,  482,  480,  479,  478,  477,  475,  474,
                    734:       473,  471,  469,  468,  467,  466,  465,  464,  463,  461,
                    735:       460,  459,  458,  457,  456,  455,  454,  453,  452,  451,
                    736: 
                    737:       450,  448,  447,  446,  445,  444,  443,  442,  441,  440,
                    738:       439,  438,  437,  436,  435,  433,  431,  430,  429,  428,
                    739:       427,  426,  424,  423,  422,  421,  420,  419,  416,  415,
                    740:       414,  413,  412,  411,  410,  409,  408,  407,  406,  405,
                    741:       404,  402,  401,  400,  398,  397,  396,  395,  394,  393,
                    742:       392,  391,  389,  388,  387,  386,  384,  377,  373,  369,
                    743:       365,  356,  350,  344,  338,  328,  302,  291,  270,  239,
                    744:       207,  205,  166,  148,  126,  109,  105,  104,  102,   80,
                    745:        57,   56,   55,   13,    4,  514,  514,  514,  514,  514,
                    746:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    747: 
                    748:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    749:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    750:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    751:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    752:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    753:       514,  514,  514,  514,  514,  514,  514,  514,  514,  514,
                    754:       514,  514,  514
                    755:     } ;
                    756: 
                    757: static yy_state_type yy_last_accepting_state;
                    758: static char *yy_last_accepting_cpos;
                    759: 
                    760: /* The intent behind this definition is that it'll catch
                    761:  * any uses of REJECT which flex missed.
                    762:  */
                    763: #define REJECT reject_used_but_not_detected
                    764: #define yymore() yymore_used_but_not_detected
                    765: #define YY_MORE_ADJ 0
                    766: char *yytext;
                    767: #line 1 "../gnumach/mig/lexxer.l"
                    768: #define INITIAL 0
                    769: #line 15 "../gnumach/mig/lexxer.l"
                    770: /* 
                    771:  * Mach Operating System
                    772:  * Copyright (c) 1991,1990 Carnegie Mellon University
                    773:  * All Rights Reserved.
                    774:  * 
                    775:  * Permission to use, copy, modify and distribute this software and its
                    776:  * documentation is hereby granted, provided that both the copyright
                    777:  * notice and this permission notice appear in all copies of the
                    778:  * software, derivative works or modified versions, and any portions
                    779:  * thereof, and that both notices appear in supporting documentation.
                    780:  * 
                    781:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
                    782:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
                    783:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
                    784:  * 
                    785:  * Carnegie Mellon requests users of this software to return to
                    786:  * 
                    787:  *  Software Distribution Coordinator  or  [email protected]
                    788:  *  School of Computer Science
                    789:  *  Carnegie Mellon University
                    790:  *  Pittsburgh PA 15213-3890
                    791:  * 
                    792:  * any improvements or extensions that they make and grant Carnegie Mellon
                    793:  * the rights to redistribute these changes.
                    794:  */
                    795: 
                    796: #include <string.h>
                    797: 
                    798: #include "mig_string.h"
                    799: #include "type.h"
                    800: #include "statement.h"
                    801: #include "global.h"
                    802: #include "parser.h"
                    803: #include "lexxer.h"
                    804: #include "cpu.h"
                    805: 
                    806: #define        stringize(x)    #x
                    807: 
                    808: #ifdef LDEBUG
                    809: #define RETURN(sym)                                                    \
                    810: {                                                                      \
                    811:     printf("yylex: returning '%s' (%d)\n", #sym, (sym));               \
                    812:     return (sym);                                                      \
                    813: }
                    814: #else  LDEBUG
                    815: #define RETURN(sym)    return (sym)
                    816: #endif LDEBUG
                    817: 
                    818: #define        TPRETURN(intype, outtype, tsize)                                \
                    819: {                                                                      \
                    820:     yylval.symtype.innumber = (intype);                                        \
                    821:     yylval.symtype.instr = stringize(intype);                          \
                    822:     yylval.symtype.outnumber = (outtype);                              \
                    823:     yylval.symtype.outstr = stringize(outtype);                                \
                    824:     yylval.symtype.size = (tsize);                                     \
                    825:     RETURN(sySymbolicType);                                            \
                    826: }
                    827: 
                    828: #define        TRETURN(type, tsize)    TPRETURN(type,type,tsize)
                    829: 
                    830: #define        FRETURN(val)                                                    \
                    831: {                                                                      \
                    832:     yylval.flag = (val);                                               \
                    833:     RETURN(syIPCFlag);                                                 \
                    834: }
                    835: 
                    836: extern YYSTYPE yylval;         /* added by rm */
                    837: 
                    838: int lineno;
                    839: char *inname;
                    840: 
                    841: #ifdef YY_START
                    842: static int oldYYBegin;
                    843: #define SAVE_BEGIN oldYYBegin = YY_START
                    844: #define RSTR_BEGIN BEGIN oldYYBegin
                    845: #else
                    846: static struct yysvf *oldYYBegin;
                    847: #define SAVE_BEGIN oldYYBegin = yybgin
                    848: #define RSTR_BEGIN yybgin = oldYYBegin;
                    849: #endif
                    850: 
                    851: static void doSharp(const char *body); /* process body of # directives */
                    852: #define Normal 1
                    853: #define String 2
                    854: #define FileName 3
                    855: #define QString 4
                    856: #define SkipToEOL 5
                    857: 
                    858: #line 859 "lex.yy.c"
                    859: 
                    860: /* Macros after this point can all be overridden by user definitions in
                    861:  * section 1.
                    862:  */
                    863: 
                    864: #ifndef YY_SKIP_YYWRAP
                    865: #ifdef __cplusplus
                    866: extern "C" int yywrap YY_PROTO(( void ));
                    867: #else
                    868: extern int yywrap YY_PROTO(( void ));
                    869: #endif
                    870: #endif
                    871: 
                    872: #ifndef YY_NO_UNPUT
                    873: static void yyunput YY_PROTO(( int c, char *buf_ptr ));
                    874: #endif
                    875: 
                    876: #ifndef yytext_ptr
                    877: static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
                    878: #endif
                    879: 
                    880: #ifndef YY_NO_INPUT
                    881: #ifdef __cplusplus
                    882: static int yyinput YY_PROTO(( void ));
                    883: #else
                    884: static int input YY_PROTO(( void ));
                    885: #endif
                    886: #endif
                    887: 
                    888: #if YY_STACK_USED
                    889: static int yy_start_stack_ptr = 0;
                    890: static int yy_start_stack_depth = 0;
                    891: static int *yy_start_stack = 0;
                    892: #ifndef YY_NO_PUSH_STATE
                    893: static void yy_push_state YY_PROTO(( int new_state ));
                    894: #endif
                    895: #ifndef YY_NO_POP_STATE
                    896: static void yy_pop_state YY_PROTO(( void ));
                    897: #endif
                    898: #ifndef YY_NO_TOP_STATE
                    899: static int yy_top_state YY_PROTO(( void ));
                    900: #endif
                    901: 
                    902: #else
                    903: #define YY_NO_PUSH_STATE 1
                    904: #define YY_NO_POP_STATE 1
                    905: #define YY_NO_TOP_STATE 1
                    906: #endif
                    907: 
                    908: #ifdef YY_MALLOC_DECL
                    909: YY_MALLOC_DECL
                    910: #else
                    911: #if __STDC__
                    912: #ifndef __cplusplus
                    913: #include <stdlib.h>
                    914: #endif
                    915: #else
                    916: /* Just try to get by without declaring the routines.  This will fail
                    917:  * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
                    918:  * or sizeof(void*) != sizeof(int).
                    919:  */
                    920: #endif
                    921: #endif
                    922: 
                    923: /* Amount of stuff to slurp up with each read. */
                    924: #ifndef YY_READ_BUF_SIZE
                    925: #define YY_READ_BUF_SIZE 8192
                    926: #endif
                    927: 
                    928: /* Copy whatever the last rule matched to the standard output. */
                    929: 
                    930: #ifndef ECHO
                    931: /* This used to be an fputs(), but since the string might contain NUL's,
                    932:  * we now use fwrite().
                    933:  */
                    934: #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
                    935: #endif
                    936: 
                    937: /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
                    938:  * is returned in "result".
                    939:  */
                    940: #ifndef YY_INPUT
                    941: #define YY_INPUT(buf,result,max_size) \
                    942:        if ( yy_current_buffer->yy_is_interactive ) \
                    943:                { \
                    944:                int c = '*', n; \
                    945:                for ( n = 0; n < max_size && \
                    946:                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
                    947:                        buf[n] = (char) c; \
                    948:                if ( c == '\n' ) \
                    949:                        buf[n++] = (char) c; \
                    950:                if ( c == EOF && ferror( yyin ) ) \
                    951:                        YY_FATAL_ERROR( "input in flex scanner failed" ); \
                    952:                result = n; \
                    953:                } \
                    954:        else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
                    955:                  && ferror( yyin ) ) \
                    956:                YY_FATAL_ERROR( "input in flex scanner failed" );
                    957: #endif
                    958: 
                    959: /* No semi-colon after return; correct usage is to write "yyterminate();" -
                    960:  * we don't want an extra ';' after the "return" because that will cause
                    961:  * some compilers to complain about unreachable statements.
                    962:  */
                    963: #ifndef yyterminate
                    964: #define yyterminate() return YY_NULL
                    965: #endif
                    966: 
                    967: /* Number of entries by which start-condition stack grows. */
                    968: #ifndef YY_START_STACK_INCR
                    969: #define YY_START_STACK_INCR 25
                    970: #endif
                    971: 
                    972: /* Report a fatal error. */
                    973: #ifndef YY_FATAL_ERROR
                    974: #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
                    975: #endif
                    976: 
                    977: /* Default declaration of generated scanner - a define so the user can
                    978:  * easily add parameters.
                    979:  */
                    980: #ifndef YY_DECL
                    981: #define YY_DECL int yylex YY_PROTO(( void ))
                    982: #endif
                    983: 
                    984: /* Code executed at the beginning of each rule, after yytext and yyleng
                    985:  * have been set up.
                    986:  */
                    987: #ifndef YY_USER_ACTION
                    988: #define YY_USER_ACTION
                    989: #endif
                    990: 
                    991: /* Code executed at the end of each rule. */
                    992: #ifndef YY_BREAK
                    993: #define YY_BREAK break;
                    994: #endif
                    995: 
                    996: #define YY_RULE_SETUP \
                    997:        if ( yyleng > 0 ) \
                    998:                yy_current_buffer->yy_at_bol = \
                    999:                                (yytext[yyleng - 1] == '\n'); \
                   1000:        YY_USER_ACTION
                   1001: 
                   1002: YY_DECL
                   1003:        {
                   1004:        register yy_state_type yy_current_state;
                   1005:        register char *yy_cp, *yy_bp;
                   1006:        register int yy_act;
                   1007: 
                   1008: #line 101 "../gnumach/mig/lexxer.l"
                   1009: 
                   1010: 
                   1011: #line 1012 "lex.yy.c"
                   1012: 
                   1013:        if ( yy_init )
                   1014:                {
                   1015:                yy_init = 0;
                   1016: 
                   1017: #ifdef YY_USER_INIT
                   1018:                YY_USER_INIT;
                   1019: #endif
                   1020: 
                   1021:                if ( ! yy_start )
                   1022:                        yy_start = 1;   /* first start state */
                   1023: 
                   1024:                if ( ! yyin )
                   1025:                        yyin = stdin;
                   1026: 
                   1027:                if ( ! yyout )
                   1028:                        yyout = stdout;
                   1029: 
                   1030:                if ( ! yy_current_buffer )
                   1031:                        yy_current_buffer =
                   1032:                                yy_create_buffer( yyin, YY_BUF_SIZE );
                   1033: 
                   1034:                yy_load_buffer_state();
                   1035:                }
                   1036: 
                   1037:        while ( 1 )             /* loops until end-of-file is reached */
                   1038:                {
                   1039:                yy_cp = yy_c_buf_p;
                   1040: 
                   1041:                /* Support of yytext. */
                   1042:                *yy_cp = yy_hold_char;
                   1043: 
                   1044:                /* yy_bp points to the position in yy_ch_buf of the start of
                   1045:                 * the current run.
                   1046:                 */
                   1047:                yy_bp = yy_cp;
                   1048: 
                   1049:                yy_current_state = yy_start;
                   1050:                yy_current_state += YY_AT_BOL();
                   1051: yy_match:
                   1052:                do
                   1053:                        {
                   1054:                        register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
                   1055:                        if ( yy_accept[yy_current_state] )
                   1056:                                {
                   1057:                                yy_last_accepting_state = yy_current_state;
                   1058:                                yy_last_accepting_cpos = yy_cp;
                   1059:                                }
                   1060:                        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                   1061:                                {
                   1062:                                yy_current_state = (int) yy_def[yy_current_state];
                   1063:                                if ( yy_current_state >= 515 )
                   1064:                                        yy_c = yy_meta[(unsigned int) yy_c];
                   1065:                                }
                   1066:                        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
                   1067:                        ++yy_cp;
                   1068:                        }
                   1069:                while ( yy_base[yy_current_state] != 986 );
                   1070: 
                   1071: yy_find_action:
                   1072:                yy_act = yy_accept[yy_current_state];
                   1073:                if ( yy_act == 0 )
                   1074:                        { /* have to back up */
                   1075:                        yy_cp = yy_last_accepting_cpos;
                   1076:                        yy_current_state = yy_last_accepting_state;
                   1077:                        yy_act = yy_accept[yy_current_state];
                   1078:                        }
                   1079: 
                   1080:                YY_DO_BEFORE_ACTION;
                   1081: 
                   1082: 
                   1083: do_action:     /* This label is used only to access EOF actions. */
                   1084: 
                   1085: 
                   1086:                switch ( yy_act )
                   1087:        { /* beginning of action switch */
                   1088:                        case 0: /* must back up */
                   1089:                        /* undo the effects of YY_DO_BEFORE_ACTION */
                   1090:                        *yy_cp = yy_hold_char;
                   1091:                        yy_cp = yy_last_accepting_cpos;
                   1092:                        yy_current_state = yy_last_accepting_state;
                   1093:                        goto yy_find_action;
                   1094: 
                   1095: case 1:
                   1096: YY_RULE_SETUP
                   1097: #line 103 "../gnumach/mig/lexxer.l"
                   1098: RETURN(syRoutine);
                   1099:        YY_BREAK
                   1100: case 2:
                   1101: YY_RULE_SETUP
                   1102: #line 104 "../gnumach/mig/lexxer.l"
                   1103: RETURN(syFunction);
                   1104:        YY_BREAK
                   1105: case 3:
                   1106: YY_RULE_SETUP
                   1107: #line 105 "../gnumach/mig/lexxer.l"
                   1108: RETURN(syProcedure);
                   1109:        YY_BREAK
                   1110: case 4:
                   1111: YY_RULE_SETUP
                   1112: #line 106 "../gnumach/mig/lexxer.l"
                   1113: RETURN(sySimpleProcedure);
                   1114:        YY_BREAK
                   1115: case 5:
                   1116: YY_RULE_SETUP
                   1117: #line 107 "../gnumach/mig/lexxer.l"
                   1118: RETURN(sySimpleRoutine);
                   1119:        YY_BREAK
                   1120: case 6:
                   1121: YY_RULE_SETUP
                   1122: #line 108 "../gnumach/mig/lexxer.l"
                   1123: RETURN(sySubsystem);
                   1124:        YY_BREAK
                   1125: case 7:
                   1126: YY_RULE_SETUP
                   1127: #line 109 "../gnumach/mig/lexxer.l"
                   1128: RETURN(syMsgOption);
                   1129:        YY_BREAK
                   1130: case 8:
                   1131: YY_RULE_SETUP
                   1132: #line 110 "../gnumach/mig/lexxer.l"
                   1133: RETURN(syMsgSeqno);
                   1134:        YY_BREAK
                   1135: case 9:
                   1136: YY_RULE_SETUP
                   1137: #line 111 "../gnumach/mig/lexxer.l"
                   1138: RETURN(syWaitTime);
                   1139:        YY_BREAK
                   1140: case 10:
                   1141: YY_RULE_SETUP
                   1142: #line 112 "../gnumach/mig/lexxer.l"
                   1143: RETURN(syNoWaitTime);
                   1144:        YY_BREAK
                   1145: case 11:
                   1146: YY_RULE_SETUP
                   1147: #line 113 "../gnumach/mig/lexxer.l"
                   1148: RETURN(syIn);
                   1149:        YY_BREAK
                   1150: case 12:
                   1151: YY_RULE_SETUP
                   1152: #line 114 "../gnumach/mig/lexxer.l"
                   1153: RETURN(syOut);
                   1154:        YY_BREAK
                   1155: case 13:
                   1156: YY_RULE_SETUP
                   1157: #line 115 "../gnumach/mig/lexxer.l"
                   1158: RETURN(syInOut);
                   1159:        YY_BREAK
                   1160: case 14:
                   1161: YY_RULE_SETUP
                   1162: #line 116 "../gnumach/mig/lexxer.l"
                   1163: RETURN(syRequestPort);
                   1164:        YY_BREAK
                   1165: case 15:
                   1166: YY_RULE_SETUP
                   1167: #line 117 "../gnumach/mig/lexxer.l"
                   1168: RETURN(syReplyPort);
                   1169:        YY_BREAK
                   1170: case 16:
                   1171: YY_RULE_SETUP
                   1172: #line 118 "../gnumach/mig/lexxer.l"
                   1173: RETURN(syUReplyPort);
                   1174:        YY_BREAK
                   1175: case 17:
                   1176: YY_RULE_SETUP
                   1177: #line 119 "../gnumach/mig/lexxer.l"
                   1178: RETURN(sySReplyPort);
                   1179:        YY_BREAK
                   1180: case 18:
                   1181: YY_RULE_SETUP
                   1182: #line 120 "../gnumach/mig/lexxer.l"
                   1183: RETURN(syArray);
                   1184:        YY_BREAK
                   1185: case 19:
                   1186: YY_RULE_SETUP
                   1187: #line 121 "../gnumach/mig/lexxer.l"
                   1188: RETURN(syOf);
                   1189:        YY_BREAK
                   1190: case 20:
                   1191: YY_RULE_SETUP
                   1192: #line 122 "../gnumach/mig/lexxer.l"
                   1193: RETURN(syErrorProc);
                   1194:        YY_BREAK
                   1195: case 21:
                   1196: YY_RULE_SETUP
                   1197: #line 123 "../gnumach/mig/lexxer.l"
                   1198: RETURN(syServerPrefix);
                   1199:        YY_BREAK
                   1200: case 22:
                   1201: YY_RULE_SETUP
                   1202: #line 124 "../gnumach/mig/lexxer.l"
                   1203: RETURN(syUserPrefix);
                   1204:        YY_BREAK
                   1205: case 23:
                   1206: YY_RULE_SETUP
                   1207: #line 125 "../gnumach/mig/lexxer.l"
                   1208: RETURN(syServerDemux);
                   1209:        YY_BREAK
                   1210: case 24:
                   1211: YY_RULE_SETUP
                   1212: #line 126 "../gnumach/mig/lexxer.l"
                   1213: RETURN(syRCSId);
                   1214:        YY_BREAK
                   1215: case 25:
                   1216: YY_RULE_SETUP
                   1217: #line 127 "../gnumach/mig/lexxer.l"
                   1218: RETURN(syImport);
                   1219:        YY_BREAK
                   1220: case 26:
                   1221: YY_RULE_SETUP
                   1222: #line 128 "../gnumach/mig/lexxer.l"
                   1223: RETURN(syUImport);
                   1224:        YY_BREAK
                   1225: case 27:
                   1226: YY_RULE_SETUP
                   1227: #line 129 "../gnumach/mig/lexxer.l"
                   1228: RETURN(sySImport);
                   1229:        YY_BREAK
                   1230: case 28:
                   1231: YY_RULE_SETUP
                   1232: #line 130 "../gnumach/mig/lexxer.l"
                   1233: RETURN(syType);
                   1234:        YY_BREAK
                   1235: case 29:
                   1236: YY_RULE_SETUP
                   1237: #line 131 "../gnumach/mig/lexxer.l"
                   1238: RETURN(syKernelServer);
                   1239:        YY_BREAK
                   1240: case 30:
                   1241: YY_RULE_SETUP
                   1242: #line 132 "../gnumach/mig/lexxer.l"
                   1243: RETURN(syKernelUser);
                   1244:        YY_BREAK
                   1245: case 31:
                   1246: YY_RULE_SETUP
                   1247: #line 133 "../gnumach/mig/lexxer.l"
                   1248: RETURN(sySkip);
                   1249:        YY_BREAK
                   1250: case 32:
                   1251: YY_RULE_SETUP
                   1252: #line 134 "../gnumach/mig/lexxer.l"
                   1253: RETURN(syStruct);
                   1254:        YY_BREAK
                   1255: case 33:
                   1256: YY_RULE_SETUP
                   1257: #line 135 "../gnumach/mig/lexxer.l"
                   1258: RETURN(syInTran);
                   1259:        YY_BREAK
                   1260: case 34:
                   1261: YY_RULE_SETUP
                   1262: #line 136 "../gnumach/mig/lexxer.l"
                   1263: RETURN(syOutTran);
                   1264:        YY_BREAK
                   1265: case 35:
                   1266: YY_RULE_SETUP
                   1267: #line 137 "../gnumach/mig/lexxer.l"
                   1268: RETURN(syDestructor);
                   1269:        YY_BREAK
                   1270: case 36:
                   1271: YY_RULE_SETUP
                   1272: #line 138 "../gnumach/mig/lexxer.l"
                   1273: RETURN(syCType);
                   1274:        YY_BREAK
                   1275: case 37:
                   1276: YY_RULE_SETUP
                   1277: #line 139 "../gnumach/mig/lexxer.l"
                   1278: RETURN(syCUserType);
                   1279:        YY_BREAK
                   1280: case 38:
                   1281: YY_RULE_SETUP
                   1282: #line 140 "../gnumach/mig/lexxer.l"
                   1283: RETURN(syCServerType);
                   1284:        YY_BREAK
                   1285: case 39:
                   1286: YY_RULE_SETUP
                   1287: #line 141 "../gnumach/mig/lexxer.l"
                   1288: RETURN(syCString);
                   1289:        YY_BREAK
                   1290: case 40:
                   1291: YY_RULE_SETUP
                   1292: #line 143 "../gnumach/mig/lexxer.l"
                   1293: FRETURN(flLong);
                   1294:        YY_BREAK
                   1295: case 41:
                   1296: YY_RULE_SETUP
                   1297: #line 144 "../gnumach/mig/lexxer.l"
                   1298: FRETURN(flNotLong);
                   1299:        YY_BREAK
                   1300: case 42:
                   1301: YY_RULE_SETUP
                   1302: #line 145 "../gnumach/mig/lexxer.l"
                   1303: FRETURN(flDealloc);
                   1304:        YY_BREAK
                   1305: case 43:
                   1306: YY_RULE_SETUP
                   1307: #line 146 "../gnumach/mig/lexxer.l"
                   1308: FRETURN(flNotDealloc);
                   1309:        YY_BREAK
                   1310: case 44:
                   1311: YY_RULE_SETUP
                   1312: #line 147 "../gnumach/mig/lexxer.l"
                   1313: FRETURN(flServerCopy);
                   1314:        YY_BREAK
                   1315: case 45:
                   1316: YY_RULE_SETUP
                   1317: #line 148 "../gnumach/mig/lexxer.l"
                   1318: FRETURN(flCountInOut);
                   1319:        YY_BREAK
                   1320: case 46:
                   1321: YY_RULE_SETUP
                   1322: #line 150 "../gnumach/mig/lexxer.l"
                   1323: TRETURN(MACH_MSG_TYPE_POLYMORPHIC,word_size_in_bits);
                   1324:        YY_BREAK
                   1325: case 47:
                   1326: YY_RULE_SETUP
                   1327: #line 152 "../gnumach/mig/lexxer.l"
                   1328: TRETURN(MACH_MSG_TYPE_UNSTRUCTURED,0);
                   1329:        YY_BREAK
                   1330: case 48:
                   1331: YY_RULE_SETUP
                   1332: #line 153 "../gnumach/mig/lexxer.l"
                   1333: TRETURN(MACH_MSG_TYPE_BIT,1);
                   1334:        YY_BREAK
                   1335: case 49:
                   1336: YY_RULE_SETUP
                   1337: #line 154 "../gnumach/mig/lexxer.l"
                   1338: TRETURN(MACH_MSG_TYPE_BOOLEAN,32);
                   1339:        YY_BREAK
                   1340: case 50:
                   1341: YY_RULE_SETUP
                   1342: #line 155 "../gnumach/mig/lexxer.l"
                   1343: TRETURN(MACH_MSG_TYPE_INTEGER_16,16);
                   1344:        YY_BREAK
                   1345: case 51:
                   1346: YY_RULE_SETUP
                   1347: #line 156 "../gnumach/mig/lexxer.l"
                   1348: TRETURN(MACH_MSG_TYPE_INTEGER_32,32);
                   1349:        YY_BREAK
                   1350: case 52:
                   1351: YY_RULE_SETUP
                   1352: #line 157 "../gnumach/mig/lexxer.l"
                   1353: TRETURN(MACH_MSG_TYPE_INTEGER_64,64);
                   1354:        YY_BREAK
                   1355: case 53:
                   1356: YY_RULE_SETUP
                   1357: #line 158 "../gnumach/mig/lexxer.l"
                   1358: TRETURN(MACH_MSG_TYPE_CHAR,8);
                   1359:        YY_BREAK
                   1360: case 54:
                   1361: YY_RULE_SETUP
                   1362: #line 159 "../gnumach/mig/lexxer.l"
                   1363: TRETURN(MACH_MSG_TYPE_BYTE,8);
                   1364:        YY_BREAK
                   1365: case 55:
                   1366: YY_RULE_SETUP
                   1367: #line 160 "../gnumach/mig/lexxer.l"
                   1368: TRETURN(MACH_MSG_TYPE_INTEGER_8,8);
                   1369:        YY_BREAK
                   1370: case 56:
                   1371: YY_RULE_SETUP
                   1372: #line 161 "../gnumach/mig/lexxer.l"
                   1373: TRETURN(MACH_MSG_TYPE_REAL,0);
                   1374:        YY_BREAK
                   1375: case 57:
                   1376: YY_RULE_SETUP
                   1377: #line 162 "../gnumach/mig/lexxer.l"
                   1378: TRETURN(MACH_MSG_TYPE_STRING,0);
                   1379:        YY_BREAK
                   1380: case 58:
                   1381: YY_RULE_SETUP
                   1382: #line 163 "../gnumach/mig/lexxer.l"
                   1383: TRETURN(MACH_MSG_TYPE_STRING_C,0);
                   1384:        YY_BREAK
                   1385: case 59:
                   1386: YY_RULE_SETUP
                   1387: #line 165 "../gnumach/mig/lexxer.l"
                   1388: TPRETURN(MACH_MSG_TYPE_MOVE_RECEIVE,MACH_MSG_TYPE_PORT_RECEIVE,word_size_in_bits);
                   1389:        YY_BREAK
                   1390: case 60:
                   1391: YY_RULE_SETUP
                   1392: #line 166 "../gnumach/mig/lexxer.l"
                   1393: TPRETURN(MACH_MSG_TYPE_COPY_SEND,MACH_MSG_TYPE_PORT_SEND,word_size_in_bits);
                   1394:        YY_BREAK
                   1395: case 61:
                   1396: YY_RULE_SETUP
                   1397: #line 167 "../gnumach/mig/lexxer.l"
                   1398: TPRETURN(MACH_MSG_TYPE_MAKE_SEND,MACH_MSG_TYPE_PORT_SEND,word_size_in_bits);
                   1399:        YY_BREAK
                   1400: case 62:
                   1401: YY_RULE_SETUP
                   1402: #line 168 "../gnumach/mig/lexxer.l"
                   1403: TPRETURN(MACH_MSG_TYPE_MOVE_SEND,MACH_MSG_TYPE_PORT_SEND,word_size_in_bits);
                   1404:        YY_BREAK
                   1405: case 63:
                   1406: YY_RULE_SETUP
                   1407: #line 169 "../gnumach/mig/lexxer.l"
                   1408: TPRETURN(MACH_MSG_TYPE_MAKE_SEND_ONCE,MACH_MSG_TYPE_PORT_SEND_ONCE,word_size_in_bits);
                   1409:        YY_BREAK
                   1410: case 64:
                   1411: YY_RULE_SETUP
                   1412: #line 170 "../gnumach/mig/lexxer.l"
                   1413: TPRETURN(MACH_MSG_TYPE_MOVE_SEND_ONCE,MACH_MSG_TYPE_PORT_SEND_ONCE,word_size_in_bits);
                   1414:        YY_BREAK
                   1415: case 65:
                   1416: YY_RULE_SETUP
                   1417: #line 172 "../gnumach/mig/lexxer.l"
                   1418: TRETURN(MACH_MSG_TYPE_PORT_NAME,word_size_in_bits);
                   1419:        YY_BREAK
                   1420: case 66:
                   1421: YY_RULE_SETUP
                   1422: #line 173 "../gnumach/mig/lexxer.l"
                   1423: TPRETURN(MACH_MSG_TYPE_POLYMORPHIC,MACH_MSG_TYPE_PORT_RECEIVE,word_size_in_bits);
                   1424:        YY_BREAK
                   1425: case 67:
                   1426: YY_RULE_SETUP
                   1427: #line 174 "../gnumach/mig/lexxer.l"
                   1428: TPRETURN(MACH_MSG_TYPE_POLYMORPHIC,MACH_MSG_TYPE_PORT_SEND,word_size_in_bits);
                   1429:        YY_BREAK
                   1430: case 68:
                   1431: YY_RULE_SETUP
                   1432: #line 175 "../gnumach/mig/lexxer.l"
                   1433: TPRETURN(MACH_MSG_TYPE_POLYMORPHIC,MACH_MSG_TYPE_PORT_SEND_ONCE,word_size_in_bits);
                   1434:        YY_BREAK
                   1435: case 69:
                   1436: YY_RULE_SETUP
                   1437: #line 176 "../gnumach/mig/lexxer.l"
                   1438: TRETURN(MACH_MSG_TYPE_POLYMORPHIC,0);
                   1439:        YY_BREAK
                   1440: case 70:
                   1441: YY_RULE_SETUP
                   1442: #line 178 "../gnumach/mig/lexxer.l"
                   1443: RETURN(syColon);
                   1444:        YY_BREAK
                   1445: case 71:
                   1446: YY_RULE_SETUP
                   1447: #line 179 "../gnumach/mig/lexxer.l"
                   1448: RETURN(sySemi);
                   1449:        YY_BREAK
                   1450: case 72:
                   1451: YY_RULE_SETUP
                   1452: #line 180 "../gnumach/mig/lexxer.l"
                   1453: RETURN(syComma);
                   1454:        YY_BREAK
                   1455: case 73:
                   1456: YY_RULE_SETUP
                   1457: #line 181 "../gnumach/mig/lexxer.l"
                   1458: RETURN(syPlus);
                   1459:        YY_BREAK
                   1460: case 74:
                   1461: YY_RULE_SETUP
                   1462: #line 182 "../gnumach/mig/lexxer.l"
                   1463: RETURN(syMinus);
                   1464:        YY_BREAK
                   1465: case 75:
                   1466: YY_RULE_SETUP
                   1467: #line 183 "../gnumach/mig/lexxer.l"
                   1468: RETURN(syStar);
                   1469:        YY_BREAK
                   1470: case 76:
                   1471: YY_RULE_SETUP
                   1472: #line 184 "../gnumach/mig/lexxer.l"
                   1473: RETURN(syDiv);
                   1474:        YY_BREAK
                   1475: case 77:
                   1476: YY_RULE_SETUP
                   1477: #line 185 "../gnumach/mig/lexxer.l"
                   1478: RETURN(syLParen);
                   1479:        YY_BREAK
                   1480: case 78:
                   1481: YY_RULE_SETUP
                   1482: #line 186 "../gnumach/mig/lexxer.l"
                   1483: RETURN(syRParen);
                   1484:        YY_BREAK
                   1485: case 79:
                   1486: YY_RULE_SETUP
                   1487: #line 187 "../gnumach/mig/lexxer.l"
                   1488: RETURN(syEqual);
                   1489:        YY_BREAK
                   1490: case 80:
                   1491: YY_RULE_SETUP
                   1492: #line 188 "../gnumach/mig/lexxer.l"
                   1493: RETURN(syCaret);
                   1494:        YY_BREAK
                   1495: case 81:
                   1496: YY_RULE_SETUP
                   1497: #line 189 "../gnumach/mig/lexxer.l"
                   1498: RETURN(syTilde);
                   1499:        YY_BREAK
                   1500: case 82:
                   1501: YY_RULE_SETUP
                   1502: #line 190 "../gnumach/mig/lexxer.l"
                   1503: RETURN(syLAngle);
                   1504:        YY_BREAK
                   1505: case 83:
                   1506: YY_RULE_SETUP
                   1507: #line 191 "../gnumach/mig/lexxer.l"
                   1508: RETURN(syRAngle);
                   1509:        YY_BREAK
                   1510: case 84:
                   1511: YY_RULE_SETUP
                   1512: #line 192 "../gnumach/mig/lexxer.l"
                   1513: RETURN(syLBrack);
                   1514:        YY_BREAK
                   1515: case 85:
                   1516: YY_RULE_SETUP
                   1517: #line 193 "../gnumach/mig/lexxer.l"
                   1518: RETURN(syRBrack);
                   1519:        YY_BREAK
                   1520: case 86:
                   1521: YY_RULE_SETUP
                   1522: #line 194 "../gnumach/mig/lexxer.l"
                   1523: RETURN(syBar);
                   1524:        YY_BREAK
                   1525: case 87:
                   1526: YY_RULE_SETUP
                   1527: #line 196 "../gnumach/mig/lexxer.l"
                   1528: { yylval.identifier = strmake(yytext);
                   1529:                          RETURN(syIdentifier); }
                   1530:        YY_BREAK
                   1531: case 88:
                   1532: YY_RULE_SETUP
                   1533: #line 198 "../gnumach/mig/lexxer.l"
                   1534: { yylval.number = atoi(yytext); RETURN(syNumber); }
                   1535:        YY_BREAK
                   1536: case 89:
                   1537: YY_RULE_SETUP
                   1538: #line 200 "../gnumach/mig/lexxer.l"
                   1539: { yylval.string = strmake(yytext);
                   1540:                          BEGIN Normal; RETURN(syString); }
                   1541:        YY_BREAK
                   1542: case 90:
                   1543: YY_RULE_SETUP
                   1544: #line 202 "../gnumach/mig/lexxer.l"
                   1545: { yylval.string = strmake(yytext);
                   1546:                          BEGIN Normal; RETURN(syFileName); }
                   1547:        YY_BREAK
                   1548: case 91:
                   1549: YY_RULE_SETUP
                   1550: #line 204 "../gnumach/mig/lexxer.l"
                   1551: { yylval.string = strmake(yytext);
                   1552:                          BEGIN Normal; RETURN(syQString); }
                   1553:        YY_BREAK
                   1554: case 92:
                   1555: YY_RULE_SETUP
                   1556: #line 207 "../gnumach/mig/lexxer.l"
                   1557: { doSharp(yytext+1);
                   1558:                                          SAVE_BEGIN;
                   1559:                                          BEGIN SkipToEOL; }
                   1560:        YY_BREAK
                   1561: case 93:
                   1562: YY_RULE_SETUP
                   1563: #line 210 "../gnumach/mig/lexxer.l"
                   1564: { doSharp(yytext+1);
                   1565:                                          SAVE_BEGIN;
                   1566:                                          BEGIN SkipToEOL; }
                   1567:        YY_BREAK
                   1568: case 94:
                   1569: YY_RULE_SETUP
                   1570: #line 213 "../gnumach/mig/lexxer.l"
                   1571: { yyerror("illegal # directive");
                   1572:                                          SAVE_BEGIN;
                   1573:                                          BEGIN SkipToEOL; }
                   1574:        YY_BREAK
                   1575: case 95:
                   1576: YY_RULE_SETUP
                   1577: #line 217 "../gnumach/mig/lexxer.l"
                   1578: RSTR_BEGIN;
                   1579:        YY_BREAK
                   1580: case 96:
                   1581: YY_RULE_SETUP
                   1582: #line 218 "../gnumach/mig/lexxer.l"
                   1583: ;
                   1584:        YY_BREAK
                   1585: case 97:
                   1586: YY_RULE_SETUP
                   1587: #line 220 "../gnumach/mig/lexxer.l"
                   1588: ;
                   1589:        YY_BREAK
                   1590: case 98:
                   1591: YY_RULE_SETUP
                   1592: #line 221 "../gnumach/mig/lexxer.l"
                   1593: { lineno++; }
                   1594:        YY_BREAK
                   1595: case 99:
                   1596: YY_RULE_SETUP
                   1597: #line 222 "../gnumach/mig/lexxer.l"
                   1598: { BEGIN Normal; RETURN(syError); }
                   1599:        YY_BREAK
                   1600: case 100:
                   1601: YY_RULE_SETUP
                   1602: #line 224 "../gnumach/mig/lexxer.l"
                   1603: ECHO;
                   1604:        YY_BREAK
                   1605: #line 1606 "lex.yy.c"
                   1606: case YY_STATE_EOF(INITIAL):
                   1607: case YY_STATE_EOF(Normal):
                   1608: case YY_STATE_EOF(String):
                   1609: case YY_STATE_EOF(FileName):
                   1610: case YY_STATE_EOF(QString):
                   1611: case YY_STATE_EOF(SkipToEOL):
                   1612:        yyterminate();
                   1613: 
                   1614:        case YY_END_OF_BUFFER:
                   1615:                {
                   1616:                /* Amount of text matched not including the EOB char. */
                   1617:                int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
                   1618: 
                   1619:                /* Undo the effects of YY_DO_BEFORE_ACTION. */
                   1620:                *yy_cp = yy_hold_char;
                   1621: 
                   1622:                if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
                   1623:                        {
                   1624:                        /* We're scanning a new file or input source.  It's
                   1625:                         * possible that this happened because the user
                   1626:                         * just pointed yyin at a new source and called
                   1627:                         * yylex().  If so, then we have to assure
                   1628:                         * consistency between yy_current_buffer and our
                   1629:                         * globals.  Here is the right place to do so, because
                   1630:                         * this is the first action (other than possibly a
                   1631:                         * back-up) that will match for the new input source.
                   1632:                         */
                   1633:                        yy_n_chars = yy_current_buffer->yy_n_chars;
                   1634:                        yy_current_buffer->yy_input_file = yyin;
                   1635:                        yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
                   1636:                        }
                   1637: 
                   1638:                /* Note that here we test for yy_c_buf_p "<=" to the position
                   1639:                 * of the first EOB in the buffer, since yy_c_buf_p will
                   1640:                 * already have been incremented past the NUL character
                   1641:                 * (since all states make transitions on EOB to the
                   1642:                 * end-of-buffer state).  Contrast this with the test
                   1643:                 * in input().
                   1644:                 */
                   1645:                if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
                   1646:                        { /* This was really a NUL. */
                   1647:                        yy_state_type yy_next_state;
                   1648: 
                   1649:                        yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
                   1650: 
                   1651:                        yy_current_state = yy_get_previous_state();
                   1652: 
                   1653:                        /* Okay, we're now positioned to make the NUL
                   1654:                         * transition.  We couldn't have
                   1655:                         * yy_get_previous_state() go ahead and do it
                   1656:                         * for us because it doesn't know how to deal
                   1657:                         * with the possibility of jamming (and we don't
                   1658:                         * want to build jamming into it because then it
                   1659:                         * will run more slowly).
                   1660:                         */
                   1661: 
                   1662:                        yy_next_state = yy_try_NUL_trans( yy_current_state );
                   1663: 
                   1664:                        yy_bp = yytext_ptr + YY_MORE_ADJ;
                   1665: 
                   1666:                        if ( yy_next_state )
                   1667:                                {
                   1668:                                /* Consume the NUL. */
                   1669:                                yy_cp = ++yy_c_buf_p;
                   1670:                                yy_current_state = yy_next_state;
                   1671:                                goto yy_match;
                   1672:                                }
                   1673: 
                   1674:                        else
                   1675:                                {
                   1676:                                yy_cp = yy_c_buf_p;
                   1677:                                goto yy_find_action;
                   1678:                                }
                   1679:                        }
                   1680: 
                   1681:                else switch ( yy_get_next_buffer() )
                   1682:                        {
                   1683:                        case EOB_ACT_END_OF_FILE:
                   1684:                                {
                   1685:                                yy_did_buffer_switch_on_eof = 0;
                   1686: 
                   1687:                                if ( yywrap() )
                   1688:                                        {
                   1689:                                        /* Note: because we've taken care in
                   1690:                                         * yy_get_next_buffer() to have set up
                   1691:                                         * yytext, we can now set up
                   1692:                                         * yy_c_buf_p so that if some total
                   1693:                                         * hoser (like flex itself) wants to
                   1694:                                         * call the scanner after we return the
                   1695:                                         * YY_NULL, it'll still work - another
                   1696:                                         * YY_NULL will get returned.
                   1697:                                         */
                   1698:                                        yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
                   1699: 
                   1700:                                        yy_act = YY_STATE_EOF(YY_START);
                   1701:                                        goto do_action;
                   1702:                                        }
                   1703: 
                   1704:                                else
                   1705:                                        {
                   1706:                                        if ( ! yy_did_buffer_switch_on_eof )
                   1707:                                                YY_NEW_FILE;
                   1708:                                        }
                   1709:                                break;
                   1710:                                }
                   1711: 
                   1712:                        case EOB_ACT_CONTINUE_SCAN:
                   1713:                                yy_c_buf_p =
                   1714:                                        yytext_ptr + yy_amount_of_matched_text;
                   1715: 
                   1716:                                yy_current_state = yy_get_previous_state();
                   1717: 
                   1718:                                yy_cp = yy_c_buf_p;
                   1719:                                yy_bp = yytext_ptr + YY_MORE_ADJ;
                   1720:                                goto yy_match;
                   1721: 
                   1722:                        case EOB_ACT_LAST_MATCH:
                   1723:                                yy_c_buf_p =
                   1724:                                &yy_current_buffer->yy_ch_buf[yy_n_chars];
                   1725: 
                   1726:                                yy_current_state = yy_get_previous_state();
                   1727: 
                   1728:                                yy_cp = yy_c_buf_p;
                   1729:                                yy_bp = yytext_ptr + YY_MORE_ADJ;
                   1730:                                goto yy_find_action;
                   1731:                        }
                   1732:                break;
                   1733:                }
                   1734: 
                   1735:        default:
                   1736:                YY_FATAL_ERROR(
                   1737:                        "fatal flex scanner internal error--no action found" );
                   1738:        } /* end of action switch */
                   1739:                } /* end of scanning one token */
                   1740:        } /* end of yylex */
                   1741: 
                   1742: 
                   1743: /* yy_get_next_buffer - try to read in a new buffer
                   1744:  *
                   1745:  * Returns a code representing an action:
                   1746:  *     EOB_ACT_LAST_MATCH -
                   1747:  *     EOB_ACT_CONTINUE_SCAN - continue scanning from current position
                   1748:  *     EOB_ACT_END_OF_FILE - end of file
                   1749:  */
                   1750: 
                   1751: static int yy_get_next_buffer()
                   1752:        {
                   1753:        register char *dest = yy_current_buffer->yy_ch_buf;
                   1754:        register char *source = yytext_ptr;
                   1755:        register int number_to_move, i;
                   1756:        int ret_val;
                   1757: 
                   1758:        if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
                   1759:                YY_FATAL_ERROR(
                   1760:                "fatal flex scanner internal error--end of buffer missed" );
                   1761: 
                   1762:        if ( yy_current_buffer->yy_fill_buffer == 0 )
                   1763:                { /* Don't try to fill the buffer, so this is an EOF. */
                   1764:                if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
                   1765:                        {
                   1766:                        /* We matched a singled characater, the EOB, so
                   1767:                         * treat this as a final EOF.
                   1768:                         */
                   1769:                        return EOB_ACT_END_OF_FILE;
                   1770:                        }
                   1771: 
                   1772:                else
                   1773:                        {
                   1774:                        /* We matched some text prior to the EOB, first
                   1775:                         * process it.
                   1776:                         */
                   1777:                        return EOB_ACT_LAST_MATCH;
                   1778:                        }
                   1779:                }
                   1780: 
                   1781:        /* Try to read more data. */
                   1782: 
                   1783:        /* First move last chars to start of buffer. */
                   1784:        number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
                   1785: 
                   1786:        for ( i = 0; i < number_to_move; ++i )
                   1787:                *(dest++) = *(source++);
                   1788: 
                   1789:        if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
                   1790:                /* don't do the read, it's not guaranteed to return an EOF,
                   1791:                 * just force an EOF
                   1792:                 */
                   1793:                yy_n_chars = 0;
                   1794: 
                   1795:        else
                   1796:                {
                   1797:                int num_to_read =
                   1798:                        yy_current_buffer->yy_buf_size - number_to_move - 1;
                   1799: 
                   1800:                while ( num_to_read <= 0 )
                   1801:                        { /* Not enough room in the buffer - grow it. */
                   1802: #ifdef YY_USES_REJECT
                   1803:                        YY_FATAL_ERROR(
                   1804: "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
                   1805: #else
                   1806: 
                   1807:                        /* just a shorter name for the current buffer */
                   1808:                        YY_BUFFER_STATE b = yy_current_buffer;
                   1809: 
                   1810:                        int yy_c_buf_p_offset =
                   1811:                                (int) (yy_c_buf_p - b->yy_ch_buf);
                   1812: 
                   1813:                        if ( b->yy_is_our_buffer )
                   1814:                                {
                   1815:                                int new_size = b->yy_buf_size * 2;
                   1816: 
                   1817:                                if ( new_size <= 0 )
                   1818:                                        b->yy_buf_size += b->yy_buf_size / 8;
                   1819:                                else
                   1820:                                        b->yy_buf_size *= 2;
                   1821: 
                   1822:                                b->yy_ch_buf = (char *)
                   1823:                                        /* Include room in for 2 EOB chars. */
                   1824:                                        yy_flex_realloc( (void *) b->yy_ch_buf,
                   1825:                                                         b->yy_buf_size + 2 );
                   1826:                                }
                   1827:                        else
                   1828:                                /* Can't grow it, we don't own it. */
                   1829:                                b->yy_ch_buf = 0;
                   1830: 
                   1831:                        if ( ! b->yy_ch_buf )
                   1832:                                YY_FATAL_ERROR(
                   1833:                                "fatal error - scanner input buffer overflow" );
                   1834: 
                   1835:                        yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
                   1836: 
                   1837:                        num_to_read = yy_current_buffer->yy_buf_size -
                   1838:                                                number_to_move - 1;
                   1839: #endif
                   1840:                        }
                   1841: 
                   1842:                if ( num_to_read > YY_READ_BUF_SIZE )
                   1843:                        num_to_read = YY_READ_BUF_SIZE;
                   1844: 
                   1845:                /* Read in more data. */
                   1846:                YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
                   1847:                        yy_n_chars, num_to_read );
                   1848:                }
                   1849: 
                   1850:        if ( yy_n_chars == 0 )
                   1851:                {
                   1852:                if ( number_to_move == YY_MORE_ADJ )
                   1853:                        {
                   1854:                        ret_val = EOB_ACT_END_OF_FILE;
                   1855:                        yyrestart( yyin );
                   1856:                        }
                   1857: 
                   1858:                else
                   1859:                        {
                   1860:                        ret_val = EOB_ACT_LAST_MATCH;
                   1861:                        yy_current_buffer->yy_buffer_status =
                   1862:                                YY_BUFFER_EOF_PENDING;
                   1863:                        }
                   1864:                }
                   1865: 
                   1866:        else
                   1867:                ret_val = EOB_ACT_CONTINUE_SCAN;
                   1868: 
                   1869:        yy_n_chars += number_to_move;
                   1870:        yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
                   1871:        yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
                   1872: 
                   1873:        yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
                   1874: 
                   1875:        return ret_val;
                   1876:        }
                   1877: 
                   1878: 
                   1879: /* yy_get_previous_state - get the state just before the EOB char was reached */
                   1880: 
                   1881: static yy_state_type yy_get_previous_state()
                   1882:        {
                   1883:        register yy_state_type yy_current_state;
                   1884:        register char *yy_cp;
                   1885: 
                   1886:        yy_current_state = yy_start;
                   1887:        yy_current_state += YY_AT_BOL();
                   1888: 
                   1889:        for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
                   1890:                {
                   1891:                register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
                   1892:                if ( yy_accept[yy_current_state] )
                   1893:                        {
                   1894:                        yy_last_accepting_state = yy_current_state;
                   1895:                        yy_last_accepting_cpos = yy_cp;
                   1896:                        }
                   1897:                while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                   1898:                        {
                   1899:                        yy_current_state = (int) yy_def[yy_current_state];
                   1900:                        if ( yy_current_state >= 515 )
                   1901:                                yy_c = yy_meta[(unsigned int) yy_c];
                   1902:                        }
                   1903:                yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
                   1904:                }
                   1905: 
                   1906:        return yy_current_state;
                   1907:        }
                   1908: 
                   1909: 
                   1910: /* yy_try_NUL_trans - try to make a transition on the NUL character
                   1911:  *
                   1912:  * synopsis
                   1913:  *     next_state = yy_try_NUL_trans( current_state );
                   1914:  */
                   1915: 
                   1916: #ifdef YY_USE_PROTOS
                   1917: static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
                   1918: #else
                   1919: static yy_state_type yy_try_NUL_trans( yy_current_state )
                   1920: yy_state_type yy_current_state;
                   1921: #endif
                   1922:        {
                   1923:        register int yy_is_jam;
                   1924:        register char *yy_cp = yy_c_buf_p;
                   1925: 
                   1926:        register YY_CHAR yy_c = 1;
                   1927:        if ( yy_accept[yy_current_state] )
                   1928:                {
                   1929:                yy_last_accepting_state = yy_current_state;
                   1930:                yy_last_accepting_cpos = yy_cp;
                   1931:                }
                   1932:        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
                   1933:                {
                   1934:                yy_current_state = (int) yy_def[yy_current_state];
                   1935:                if ( yy_current_state >= 515 )
                   1936:                        yy_c = yy_meta[(unsigned int) yy_c];
                   1937:                }
                   1938:        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
                   1939:        yy_is_jam = (yy_current_state == 514);
                   1940: 
                   1941:        return yy_is_jam ? 0 : yy_current_state;
                   1942:        }
                   1943: 
                   1944: 
                   1945: #ifndef YY_NO_UNPUT
                   1946: #ifdef YY_USE_PROTOS
                   1947: static void yyunput( int c, register char *yy_bp )
                   1948: #else
                   1949: static void yyunput( c, yy_bp )
                   1950: int c;
                   1951: register char *yy_bp;
                   1952: #endif
                   1953:        {
                   1954:        register char *yy_cp = yy_c_buf_p;
                   1955: 
                   1956:        /* undo effects of setting up yytext */
                   1957:        *yy_cp = yy_hold_char;
                   1958: 
                   1959:        if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
                   1960:                { /* need to shift things up to make room */
                   1961:                /* +2 for EOB chars. */
                   1962:                register int number_to_move = yy_n_chars + 2;
                   1963:                register char *dest = &yy_current_buffer->yy_ch_buf[
                   1964:                                        yy_current_buffer->yy_buf_size + 2];
                   1965:                register char *source =
                   1966:                                &yy_current_buffer->yy_ch_buf[number_to_move];
                   1967: 
                   1968:                while ( source > yy_current_buffer->yy_ch_buf )
                   1969:                        *--dest = *--source;
                   1970: 
                   1971:                yy_cp += (int) (dest - source);
                   1972:                yy_bp += (int) (dest - source);
                   1973:                yy_n_chars = yy_current_buffer->yy_buf_size;
                   1974: 
                   1975:                if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
                   1976:                        YY_FATAL_ERROR( "flex scanner push-back overflow" );
                   1977:                }
                   1978: 
                   1979:        *--yy_cp = (char) c;
                   1980: 
                   1981: 
                   1982:        yytext_ptr = yy_bp;
                   1983:        yy_hold_char = *yy_cp;
                   1984:        yy_c_buf_p = yy_cp;
                   1985:        }
                   1986: #endif /* ifndef YY_NO_UNPUT */
                   1987: 
                   1988: 
                   1989: #ifdef __cplusplus
                   1990: static int yyinput()
                   1991: #else
                   1992: static int input()
                   1993: #endif
                   1994:        {
                   1995:        int c;
                   1996: 
                   1997:        *yy_c_buf_p = yy_hold_char;
                   1998: 
                   1999:        if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
                   2000:                {
                   2001:                /* yy_c_buf_p now points to the character we want to return.
                   2002:                 * If this occurs *before* the EOB characters, then it's a
                   2003:                 * valid NUL; if not, then we've hit the end of the buffer.
                   2004:                 */
                   2005:                if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
                   2006:                        /* This was really a NUL. */
                   2007:                        *yy_c_buf_p = '\0';
                   2008: 
                   2009:                else
                   2010:                        { /* need more input */
                   2011:                        yytext_ptr = yy_c_buf_p;
                   2012:                        ++yy_c_buf_p;
                   2013: 
                   2014:                        switch ( yy_get_next_buffer() )
                   2015:                                {
                   2016:                                case EOB_ACT_END_OF_FILE:
                   2017:                                        {
                   2018:                                        if ( yywrap() )
                   2019:                                                {
                   2020:                                                yy_c_buf_p =
                   2021:                                                yytext_ptr + YY_MORE_ADJ;
                   2022:                                                return EOF;
                   2023:                                                }
                   2024: 
                   2025:                                        if ( ! yy_did_buffer_switch_on_eof )
                   2026:                                                YY_NEW_FILE;
                   2027: #ifdef __cplusplus
                   2028:                                        return yyinput();
                   2029: #else
                   2030:                                        return input();
                   2031: #endif
                   2032:                                        }
                   2033: 
                   2034:                                case EOB_ACT_CONTINUE_SCAN:
                   2035:                                        yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
                   2036:                                        break;
                   2037: 
                   2038:                                case EOB_ACT_LAST_MATCH:
                   2039: #ifdef __cplusplus
                   2040:                                        YY_FATAL_ERROR(
                   2041:                                        "unexpected last match in yyinput()" );
                   2042: #else
                   2043:                                        YY_FATAL_ERROR(
                   2044:                                        "unexpected last match in input()" );
                   2045: #endif
                   2046:                                }
                   2047:                        }
                   2048:                }
                   2049: 
                   2050:        c = *(unsigned char *) yy_c_buf_p;      /* cast for 8-bit char's */
                   2051:        *yy_c_buf_p = '\0';     /* preserve yytext */
                   2052:        yy_hold_char = *++yy_c_buf_p;
                   2053: 
                   2054:        yy_current_buffer->yy_at_bol = (c == '\n');
                   2055: 
                   2056:        return c;
                   2057:        }
                   2058: 
                   2059: 
                   2060: #ifdef YY_USE_PROTOS
                   2061: void yyrestart( FILE *input_file )
                   2062: #else
                   2063: void yyrestart( input_file )
                   2064: FILE *input_file;
                   2065: #endif
                   2066:        {
                   2067:        if ( ! yy_current_buffer )
                   2068:                yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
                   2069: 
                   2070:        yy_init_buffer( yy_current_buffer, input_file );
                   2071:        yy_load_buffer_state();
                   2072:        }
                   2073: 
                   2074: 
                   2075: #ifdef YY_USE_PROTOS
                   2076: void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
                   2077: #else
                   2078: void yy_switch_to_buffer( new_buffer )
                   2079: YY_BUFFER_STATE new_buffer;
                   2080: #endif
                   2081:        {
                   2082:        if ( yy_current_buffer == new_buffer )
                   2083:                return;
                   2084: 
                   2085:        if ( yy_current_buffer )
                   2086:                {
                   2087:                /* Flush out information for old buffer. */
                   2088:                *yy_c_buf_p = yy_hold_char;
                   2089:                yy_current_buffer->yy_buf_pos = yy_c_buf_p;
                   2090:                yy_current_buffer->yy_n_chars = yy_n_chars;
                   2091:                }
                   2092: 
                   2093:        yy_current_buffer = new_buffer;
                   2094:        yy_load_buffer_state();
                   2095: 
                   2096:        /* We don't actually know whether we did this switch during
                   2097:         * EOF (yywrap()) processing, but the only time this flag
                   2098:         * is looked at is after yywrap() is called, so it's safe
                   2099:         * to go ahead and always set it.
                   2100:         */
                   2101:        yy_did_buffer_switch_on_eof = 1;
                   2102:        }
                   2103: 
                   2104: 
                   2105: #ifdef YY_USE_PROTOS
                   2106: void yy_load_buffer_state( void )
                   2107: #else
                   2108: void yy_load_buffer_state()
                   2109: #endif
                   2110:        {
                   2111:        yy_n_chars = yy_current_buffer->yy_n_chars;
                   2112:        yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
                   2113:        yyin = yy_current_buffer->yy_input_file;
                   2114:        yy_hold_char = *yy_c_buf_p;
                   2115:        }
                   2116: 
                   2117: 
                   2118: #ifdef YY_USE_PROTOS
                   2119: YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
                   2120: #else
                   2121: YY_BUFFER_STATE yy_create_buffer( file, size )
                   2122: FILE *file;
                   2123: int size;
                   2124: #endif
                   2125:        {
                   2126:        YY_BUFFER_STATE b;
                   2127: 
                   2128:        b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
                   2129:        if ( ! b )
                   2130:                YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
                   2131: 
                   2132:        b->yy_buf_size = size;
                   2133: 
                   2134:        /* yy_ch_buf has to be 2 characters longer than the size given because
                   2135:         * we need to put in 2 end-of-buffer characters.
                   2136:         */
                   2137:        b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
                   2138:        if ( ! b->yy_ch_buf )
                   2139:                YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
                   2140: 
                   2141:        b->yy_is_our_buffer = 1;
                   2142: 
                   2143:        yy_init_buffer( b, file );
                   2144: 
                   2145:        return b;
                   2146:        }
                   2147: 
                   2148: 
                   2149: #ifdef YY_USE_PROTOS
                   2150: void yy_delete_buffer( YY_BUFFER_STATE b )
                   2151: #else
                   2152: void yy_delete_buffer( b )
                   2153: YY_BUFFER_STATE b;
                   2154: #endif
                   2155:        {
                   2156:        if ( ! b )
                   2157:                return;
                   2158: 
                   2159:        if ( b == yy_current_buffer )
                   2160:                yy_current_buffer = (YY_BUFFER_STATE) 0;
                   2161: 
                   2162:        if ( b->yy_is_our_buffer )
                   2163:                yy_flex_free( (void *) b->yy_ch_buf );
                   2164: 
                   2165:        yy_flex_free( (void *) b );
                   2166:        }
                   2167: 
                   2168: 
                   2169: #ifndef YY_ALWAYS_INTERACTIVE
                   2170: #ifndef YY_NEVER_INTERACTIVE
                   2171: extern int isatty YY_PROTO(( int ));
                   2172: #endif
                   2173: #endif
                   2174: 
                   2175: #ifdef YY_USE_PROTOS
                   2176: void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
                   2177: #else
                   2178: void yy_init_buffer( b, file )
                   2179: YY_BUFFER_STATE b;
                   2180: FILE *file;
                   2181: #endif
                   2182: 
                   2183: 
                   2184:        {
                   2185:        yy_flush_buffer( b );
                   2186: 
                   2187:        b->yy_input_file = file;
                   2188:        b->yy_fill_buffer = 1;
                   2189: 
                   2190: #if YY_ALWAYS_INTERACTIVE
                   2191:        b->yy_is_interactive = 1;
                   2192: #else
                   2193: #if YY_NEVER_INTERACTIVE
                   2194:        b->yy_is_interactive = 0;
                   2195: #else
                   2196:        b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
                   2197: #endif
                   2198: #endif
                   2199:        }
                   2200: 
                   2201: 
                   2202: #ifdef YY_USE_PROTOS
                   2203: void yy_flush_buffer( YY_BUFFER_STATE b )
                   2204: #else
                   2205: void yy_flush_buffer( b )
                   2206: YY_BUFFER_STATE b;
                   2207: #endif
                   2208: 
                   2209:        {
                   2210:        b->yy_n_chars = 0;
                   2211: 
                   2212:        /* We always need two end-of-buffer characters.  The first causes
                   2213:         * a transition to the end-of-buffer state.  The second causes
                   2214:         * a jam in that state.
                   2215:         */
                   2216:        b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
                   2217:        b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
                   2218: 
                   2219:        b->yy_buf_pos = &b->yy_ch_buf[0];
                   2220: 
                   2221:        b->yy_at_bol = 1;
                   2222:        b->yy_buffer_status = YY_BUFFER_NEW;
                   2223: 
                   2224:        if ( b == yy_current_buffer )
                   2225:                yy_load_buffer_state();
                   2226:        }
                   2227: 
                   2228: 
                   2229: #ifndef YY_NO_SCAN_BUFFER
                   2230: #ifdef YY_USE_PROTOS
                   2231: YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
                   2232: #else
                   2233: YY_BUFFER_STATE yy_scan_buffer( base, size )
                   2234: char *base;
                   2235: yy_size_t size;
                   2236: #endif
                   2237:        {
                   2238:        YY_BUFFER_STATE b;
                   2239: 
                   2240:        if ( size < 2 ||
                   2241:             base[size-2] != YY_END_OF_BUFFER_CHAR ||
                   2242:             base[size-1] != YY_END_OF_BUFFER_CHAR )
                   2243:                /* They forgot to leave room for the EOB's. */
                   2244:                return 0;
                   2245: 
                   2246:        b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
                   2247:        if ( ! b )
                   2248:                YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
                   2249: 
                   2250:        b->yy_buf_size = size - 2;      /* "- 2" to take care of EOB's */
                   2251:        b->yy_buf_pos = b->yy_ch_buf = base;
                   2252:        b->yy_is_our_buffer = 0;
                   2253:        b->yy_input_file = 0;
                   2254:        b->yy_n_chars = b->yy_buf_size;
                   2255:        b->yy_is_interactive = 0;
                   2256:        b->yy_at_bol = 1;
                   2257:        b->yy_fill_buffer = 0;
                   2258:        b->yy_buffer_status = YY_BUFFER_NEW;
                   2259: 
                   2260:        yy_switch_to_buffer( b );
                   2261: 
                   2262:        return b;
                   2263:        }
                   2264: #endif
                   2265: 
                   2266: 
                   2267: #ifndef YY_NO_SCAN_STRING
                   2268: #ifdef YY_USE_PROTOS
                   2269: YY_BUFFER_STATE yy_scan_string( yyconst char *str )
                   2270: #else
                   2271: YY_BUFFER_STATE yy_scan_string( str )
                   2272: yyconst char *str;
                   2273: #endif
                   2274:        {
                   2275:        int len;
                   2276:        for ( len = 0; str[len]; ++len )
                   2277:                ;
                   2278: 
                   2279:        return yy_scan_bytes( str, len );
                   2280:        }
                   2281: #endif
                   2282: 
                   2283: 
                   2284: #ifndef YY_NO_SCAN_BYTES
                   2285: #ifdef YY_USE_PROTOS
                   2286: YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
                   2287: #else
                   2288: YY_BUFFER_STATE yy_scan_bytes( bytes, len )
                   2289: yyconst char *bytes;
                   2290: int len;
                   2291: #endif
                   2292:        {
                   2293:        YY_BUFFER_STATE b;
                   2294:        char *buf;
                   2295:        yy_size_t n;
                   2296:        int i;
                   2297: 
                   2298:        /* Get memory for full buffer, including space for trailing EOB's. */
                   2299:        n = len + 2;
                   2300:        buf = (char *) yy_flex_alloc( n );
                   2301:        if ( ! buf )
                   2302:                YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
                   2303: 
                   2304:        for ( i = 0; i < len; ++i )
                   2305:                buf[i] = bytes[i];
                   2306: 
                   2307:        buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
                   2308: 
                   2309:        b = yy_scan_buffer( buf, n );
                   2310:        if ( ! b )
                   2311:                YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
                   2312: 
                   2313:        /* It's okay to grow etc. this buffer, and we should throw it
                   2314:         * away when we're done.
                   2315:         */
                   2316:        b->yy_is_our_buffer = 1;
                   2317: 
                   2318:        return b;
                   2319:        }
                   2320: #endif
                   2321: 
                   2322: 
                   2323: #ifndef YY_NO_PUSH_STATE
                   2324: #ifdef YY_USE_PROTOS
                   2325: static void yy_push_state( int new_state )
                   2326: #else
                   2327: static void yy_push_state( new_state )
                   2328: int new_state;
                   2329: #endif
                   2330:        {
                   2331:        if ( yy_start_stack_ptr >= yy_start_stack_depth )
                   2332:                {
                   2333:                yy_size_t new_size;
                   2334: 
                   2335:                yy_start_stack_depth += YY_START_STACK_INCR;
                   2336:                new_size = yy_start_stack_depth * sizeof( int );
                   2337: 
                   2338:                if ( ! yy_start_stack )
                   2339:                        yy_start_stack = (int *) yy_flex_alloc( new_size );
                   2340: 
                   2341:                else
                   2342:                        yy_start_stack = (int *) yy_flex_realloc(
                   2343:                                        (void *) yy_start_stack, new_size );
                   2344: 
                   2345:                if ( ! yy_start_stack )
                   2346:                        YY_FATAL_ERROR(
                   2347:                        "out of memory expanding start-condition stack" );
                   2348:                }
                   2349: 
                   2350:        yy_start_stack[yy_start_stack_ptr++] = YY_START;
                   2351: 
                   2352:        BEGIN(new_state);
                   2353:        }
                   2354: #endif
                   2355: 
                   2356: 
                   2357: #ifndef YY_NO_POP_STATE
                   2358: static void yy_pop_state()
                   2359:        {
                   2360:        if ( --yy_start_stack_ptr < 0 )
                   2361:                YY_FATAL_ERROR( "start-condition stack underflow" );
                   2362: 
                   2363:        BEGIN(yy_start_stack[yy_start_stack_ptr]);
                   2364:        }
                   2365: #endif
                   2366: 
                   2367: 
                   2368: #ifndef YY_NO_TOP_STATE
                   2369: static int yy_top_state()
                   2370:        {
                   2371:        return yy_start_stack[yy_start_stack_ptr - 1];
                   2372:        }
                   2373: #endif
                   2374: 
                   2375: #ifndef YY_EXIT_FAILURE
                   2376: #define YY_EXIT_FAILURE 2
                   2377: #endif
                   2378: 
                   2379: #ifdef YY_USE_PROTOS
                   2380: static void yy_fatal_error( yyconst char msg[] )
                   2381: #else
                   2382: static void yy_fatal_error( msg )
                   2383: char msg[];
                   2384: #endif
                   2385:        {
                   2386:        (void) fprintf( stderr, "%s\n", msg );
                   2387:        exit( YY_EXIT_FAILURE );
                   2388:        }
                   2389: 
                   2390: 
                   2391: 
                   2392: /* Redefine yyless() so it works in section 3 code. */
                   2393: 
                   2394: #undef yyless
                   2395: #define yyless(n) \
                   2396:        do \
                   2397:                { \
                   2398:                /* Undo effects of setting up yytext. */ \
                   2399:                yytext[yyleng] = yy_hold_char; \
                   2400:                yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
                   2401:                yy_hold_char = *yy_c_buf_p; \
                   2402:                *yy_c_buf_p = '\0'; \
                   2403:                yyleng = n; \
                   2404:                } \
                   2405:        while ( 0 )
                   2406: 
                   2407: 
                   2408: /* Internal utility routines. */
                   2409: 
                   2410: #ifndef yytext_ptr
                   2411: #ifdef YY_USE_PROTOS
                   2412: static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
                   2413: #else
                   2414: static void yy_flex_strncpy( s1, s2, n )
                   2415: char *s1;
                   2416: yyconst char *s2;
                   2417: int n;
                   2418: #endif
                   2419:        {
                   2420:        register int i;
                   2421:        for ( i = 0; i < n; ++i )
                   2422:                s1[i] = s2[i];
                   2423:        }
                   2424: #endif
                   2425: 
                   2426: 
                   2427: #ifdef YY_USE_PROTOS
                   2428: static void *yy_flex_alloc( yy_size_t size )
                   2429: #else
                   2430: static void *yy_flex_alloc( size )
                   2431: yy_size_t size;
                   2432: #endif
                   2433:        {
                   2434:        return (void *) malloc( size );
                   2435:        }
                   2436: 
                   2437: #ifdef YY_USE_PROTOS
                   2438: static void *yy_flex_realloc( void *ptr, yy_size_t size )
                   2439: #else
                   2440: static void *yy_flex_realloc( ptr, size )
                   2441: void *ptr;
                   2442: yy_size_t size;
                   2443: #endif
                   2444:        {
                   2445:        /* The cast to (char *) in the following accommodates both
                   2446:         * implementations that use char* generic pointers, and those
                   2447:         * that use void* generic pointers.  It works with the latter
                   2448:         * because both ANSI C and C++ allow castless assignment from
                   2449:         * any pointer type to void*, and deal with argument conversions
                   2450:         * as though doing an assignment.
                   2451:         */
                   2452:        return (void *) realloc( (char *) ptr, size );
                   2453:        }
                   2454: 
                   2455: #ifdef YY_USE_PROTOS
                   2456: static void yy_flex_free( void *ptr )
                   2457: #else
                   2458: static void yy_flex_free( ptr )
                   2459: void *ptr;
                   2460: #endif
                   2461:        {
                   2462:        free( ptr );
                   2463:        }
                   2464: 
                   2465: #if YY_MAIN
                   2466: int main()
                   2467:        {
                   2468:        yylex();
                   2469:        return 0;
                   2470:        }
                   2471: #endif
                   2472: #line 224 "../gnumach/mig/lexxer.l"
                   2473: 
                   2474: 
                   2475: extern void
                   2476: LookNormal(void)
                   2477: {
                   2478:     if (inname == 0)
                   2479:     {
                   2480:        inname = strmake("(unknown)");
                   2481:        lineno = 0;
                   2482:     }
                   2483: 
                   2484:     BEGIN Normal;
                   2485: }
                   2486: 
                   2487: extern void
                   2488: LookString(void)
                   2489: {
                   2490:     BEGIN String;
                   2491: }
                   2492: 
                   2493: extern void
                   2494: LookQString(void)
                   2495: {
                   2496:     BEGIN QString;
                   2497: }
                   2498: 
                   2499: extern void
                   2500: LookFileName(void)
                   2501: {
                   2502:     BEGIN FileName;
                   2503: }
                   2504: 
                   2505: static void
                   2506: doSharp(const char *body)
                   2507: {
                   2508:     register const char *startName;
                   2509: 
                   2510:     lineno = atoi(body);
                   2511:     startName = strchr(body, '"');
                   2512:     if (startName != NULL)
                   2513:     {
                   2514:        *strrchr(body, '"') = '\0';
                   2515:        strfree(inname);
                   2516:        inname = strmake(startName+1);
                   2517:     }
                   2518: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.