home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / flex-2.5.2-src.tgz / tar.out / fsf / flex / initscan.c < prev    next >
C/C++ Source or Header  |  1996-09-28  |  110KB  |  3,666 lines

  1. #line 2 "scan.c"
  2. /* A lexical scanner generated by flex */
  3.  
  4. /* Scanner skeleton version:
  5.  * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.85 95/04/24 10:48:47 vern Exp $
  6.  */
  7.  
  8. #define FLEX_SCANNER
  9. #define YY_FLEX_MAJOR_VERSION 2
  10. #define YY_FLEX_MINOR_VERSION 5
  11.  
  12. #include <stdio.h>
  13.  
  14.  
  15. /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
  16. #ifdef c_plusplus
  17. #ifndef __cplusplus
  18. #define __cplusplus
  19. #endif
  20. #endif
  21.  
  22.  
  23. #ifdef __cplusplus
  24.  
  25. #include <stdlib.h>
  26. #include <unistd.h>
  27.  
  28. /* Use prototypes in function declarations. */
  29. #define YY_USE_PROTOS
  30.  
  31. /* The "const" storage-class-modifier is valid. */
  32. #define YY_USE_CONST
  33.  
  34. #else    /* ! __cplusplus */
  35.  
  36. #if __STDC__
  37.  
  38. #define YY_USE_PROTOS
  39. #define YY_USE_CONST
  40.  
  41. #endif    /* __STDC__ */
  42. #endif    /* ! __cplusplus */
  43.  
  44. #ifdef __TURBOC__
  45.  #pragma warn -rch
  46.  #pragma warn -use
  47. #include <io.h>
  48. #include <stdlib.h>
  49. #define YY_USE_CONST
  50. #define YY_USE_PROTOS
  51. #endif
  52.  
  53. #ifdef YY_USE_CONST
  54. #define yyconst const
  55. #else
  56. #define yyconst
  57. #endif
  58.  
  59.  
  60. #ifdef YY_USE_PROTOS
  61. #define YY_PROTO(proto) proto
  62. #else
  63. #define YY_PROTO(proto) ()
  64. #endif
  65.  
  66. /* Returned upon end-of-file. */
  67. #define YY_NULL 0
  68.  
  69. /* Promotes a possibly negative, possibly signed char to an unsigned
  70.  * integer for use as an array index.  If the signed char is negative,
  71.  * we want to instead treat it as an 8-bit unsigned char, hence the
  72.  * double cast.
  73.  */
  74. #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  75.  
  76. /* Enter a start condition.  This macro really ought to take a parameter,
  77.  * but we do it the disgusting crufty way forced on us by the ()-less
  78.  * definition of BEGIN.
  79.  */
  80. #define BEGIN yy_start = 1 + 2 *
  81.  
  82. /* Translate the current start state into a value that can be later handed
  83.  * to BEGIN to return to the state.  The YYSTATE alias is for lex
  84.  * compatibility.
  85.  */
  86. #define YY_START ((yy_start - 1) / 2)
  87. #define YYSTATE YY_START
  88.  
  89. /* Action number for EOF rule of a given start state. */
  90. #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  91.  
  92. /* Special action meaning "start processing a new file". */
  93. #define YY_NEW_FILE yyrestart( yyin )
  94.  
  95. #define YY_END_OF_BUFFER_CHAR 0
  96.  
  97. /* Size of default input buffer. */
  98. #define YY_BUF_SIZE 16384
  99.  
  100. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  101.  
  102. extern int yyleng;
  103. extern FILE *yyin, *yyout;
  104.  
  105. #define EOB_ACT_CONTINUE_SCAN 0
  106. #define EOB_ACT_END_OF_FILE 1
  107. #define EOB_ACT_LAST_MATCH 2
  108.  
  109. /* The funky do-while in the following #define is used to turn the definition
  110.  * int a single C statement (which needs a semi-colon terminator).  This
  111.  * avoids problems with code like:
  112.  *
  113.  *     if ( condition_holds )
  114.  *        yyless( 5 );
  115.  *    else
  116.  *        do_something_else();
  117.  *
  118.  * Prior to using the do-while the compiler would get upset at the
  119.  * "else" because it interpreted the "if" statement as being all
  120.  * done when it reached the ';' after the yyless() call.
  121.  */
  122.  
  123. /* Return all but the first 'n' matched characters back to the input stream. */
  124.  
  125. #define yyless(n) \
  126.     do \
  127.         { \
  128.         /* Undo effects of setting up yytext. */ \
  129.         *yy_cp = yy_hold_char; \
  130.         yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
  131.         YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  132.         } \
  133.     while ( 0 )
  134.  
  135. #define unput(c) yyunput( c, yytext_ptr )
  136.  
  137. /* The following is because we cannot portably get our hands on size_t
  138.  * (without autoconf's help, which isn't available because we want
  139.  * flex-generated scanners to compile on their own).
  140.  */
  141. typedef unsigned int yy_size_t;
  142.  
  143.  
  144. struct yy_buffer_state
  145.     {
  146.     FILE *yy_input_file;
  147.  
  148.     char *yy_ch_buf;        /* input buffer */
  149.     char *yy_buf_pos;        /* current position in input buffer */
  150.  
  151.     /* Size of input buffer in bytes, not including room for EOB
  152.      * characters.
  153.      */
  154.     yy_size_t yy_buf_size;
  155.  
  156.     /* Number of characters read into yy_ch_buf, not including EOB
  157.      * characters.
  158.      */
  159.     int yy_n_chars;
  160.  
  161.     /* Whether we "own" the buffer - i.e., we know we created it,
  162.      * and can realloc() it to grow it, and should free() it to
  163.      * delete it.
  164.      */
  165.     int yy_is_our_buffer;
  166.  
  167.     /* Whether this is an "interactive" input source; if so, and
  168.      * if we're using stdio for input, then we want to use getc()
  169.      * instead of fread(), to make sure we stop fetching input after
  170.      * each newline.
  171.      */
  172.     int yy_is_interactive;
  173.  
  174.     /* Whether we're considered to be at the beginning of a line.
  175.      * If so, '^' rules will be active on the next match, otherwise
  176.      * not.
  177.      */
  178.     int yy_at_bol;
  179.  
  180.     /* Whether to try to fill the input buffer when we reach the
  181.      * end of it.
  182.      */
  183.     int yy_fill_buffer;
  184.  
  185.     int yy_buffer_status;
  186. #define YY_BUFFER_NEW 0
  187. #define YY_BUFFER_NORMAL 1
  188.     /* When an EOF's been seen but there's still some text to process
  189.      * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  190.      * shouldn't try reading from the input source any more.  We might
  191.      * still have a bunch of tokens to match, though, because of
  192.      * possible backing-up.
  193.      *
  194.      * When we actually see the EOF, we change the status to "new"
  195.      * (via yyrestart()), so that the user can continue scanning by
  196.      * just pointing yyin at a new input file.
  197.      */
  198. #define YY_BUFFER_EOF_PENDING 2
  199.     };
  200.  
  201. static YY_BUFFER_STATE yy_current_buffer = 0;
  202.  
  203. /* We provide macros for accessing buffer states in case in the
  204.  * future we want to put the buffer states in a more general
  205.  * "scanner state".
  206.  */
  207. #define YY_CURRENT_BUFFER yy_current_buffer
  208.  
  209.  
  210. /* yy_hold_char holds the character lost when yytext is formed. */
  211. static char yy_hold_char;
  212.  
  213. static int yy_n_chars;        /* number of characters read into yy_ch_buf */
  214.  
  215.  
  216. int yyleng;
  217.  
  218. /* Points to current character in buffer. */
  219. static char *yy_c_buf_p = (char *) 0;
  220. static int yy_init = 1;        /* whether we need to initialize */
  221. static int yy_start = 0;    /* start state number */
  222.  
  223. /* Flag which is used to allow yywrap()'s to do buffer switches
  224.  * instead of setting up a fresh yyin.  A bit of a hack ...
  225.  */
  226. static int yy_did_buffer_switch_on_eof;
  227.  
  228. void yyrestart YY_PROTO(( FILE *input_file ));
  229.  
  230. void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
  231. void yy_load_buffer_state YY_PROTO(( void ));
  232. YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
  233. void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
  234. void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
  235. void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
  236. #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
  237.  
  238. YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
  239. YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str ));
  240. YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
  241.  
  242. static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
  243. static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
  244. static void yy_flex_free YY_PROTO(( void * ));
  245.  
  246. #define yy_new_buffer yy_create_buffer
  247.  
  248. #define yy_set_interactive(is_interactive) \
  249.     { \
  250.     if ( ! yy_current_buffer ) \
  251.         yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
  252.     yy_current_buffer->yy_is_interactive = is_interactive; \
  253.     }
  254.  
  255. #define yy_set_bol(at_bol) \
  256.     { \
  257.     if ( ! yy_current_buffer ) \
  258.         yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
  259.     yy_current_buffer->yy_at_bol = at_bol; \
  260.     }
  261.  
  262. #define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
  263.  
  264. typedef unsigned char YY_CHAR;
  265. FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  266. typedef int yy_state_type;
  267. extern char *yytext;
  268. #define yytext_ptr yytext
  269.  
  270. static yy_state_type yy_get_previous_state YY_PROTO(( void ));
  271. static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
  272. static int yy_get_next_buffer YY_PROTO(( void ));
  273. static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
  274.  
  275. /* Done after the current pattern has been matched and before the
  276.  * corresponding action - sets up yytext.
  277.  */
  278. #define YY_DO_BEFORE_ACTION \
  279.     yytext_ptr = yy_bp; \
  280.     yyleng = (int) (yy_cp - yy_bp); \
  281.     yy_hold_char = *yy_cp; \
  282.     *yy_cp = '\0'; \
  283.     yy_c_buf_p = yy_cp;
  284.  
  285. #define YY_NUM_RULES 165
  286. #define YY_END_OF_BUFFER 166
  287. static yyconst short int yy_accept[769] =
  288.     {   0,
  289.         0,    0,    0,    0,   87,   87,  163,  163,    0,    0,
  290.         0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  291.         0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  292.         0,    0,    0,    0,    0,    0,    0,    0,  166,  164,
  293.         7,   18,  164,   16,    1,   17,  164,  164,  164,  164,
  294.        15,  108,  100,  101,  108,   93,  108,  107,  108,  108,
  295.       108,  107,   99,   89,  108,  108,   91,   92,   87,   88,
  296.        87,   86,   85,   86,   86,  163,  163,   28,   29,   28,
  297.        28,   28,   28,   28,   28,   31,   30,   32,   31,  113,
  298.       109,  110,  112,  114,  141,  142,  141,  139,  138,  140,
  299.  
  300.       115,  117,  115,  116,  115,  120,  120,  120,  120,  122,
  301.       124,  122,  122,  122,  122,  123,  151,  155,  151,  154,
  302.       156,  156,  152,  152,  152,  149,  150,  164,   82,  164,
  303.        21,   22,   21,   20,  157,  159,  157,  160,  161,  147,
  304.       147,  148,  147,  147,  147,  147,  147,  147,  147,   81,
  305.        34,   33,   81,   81,   81,   81,   35,   81,   81,   81,
  306.        81,   81,   81,   81,   81,   81,   81,   81,   81,   81,
  307.        81,   81,   81,   81,   81,   81,   26,   23,   26,   24,
  308.         7,   18,    0,   16,    1,   17,    0,    0,    0,   14,
  309.         8,    0,    0,    0,    0,    4,    5,    0,    2,   15,
  310.  
  311.       100,  101,    0,    0,    0,   95,    0,    0,  105,  105,
  312.         0,  162,  162,  162,   94,    0,   99,   89,    0,    0,
  313.         0,   91,   92,  104,   90,    0,   87,   88,   86,   85,
  314.        85,   83,   84,  163,  163,   28,   29,   28,   28,   28,
  315.        28,   31,   30,   32,  111,  112,  142,  138,  117,    0,
  316.       118,  119,  124,  121,  151,  155,    0,  153,    0,  144,
  317.       152,  152,  152,    0,   82,    0,   21,   22,   21,   19,
  318.       157,  159,  158,  147,  147,  147,  148,  143,  147,  147,
  319.       147,   34,   33,    0,   80,    0,    0,   81,   81,   81,
  320.        81,   81,   81,   81,   81,   81,   81,   81,   81,   81,
  321.  
  322.        81,   81,   81,   36,   81,   81,   81,   81,   81,   81,
  323.        81,   81,   81,   81,    0,   25,   24,    0,   14,    8,
  324.         0,   12,    0,    0,    0,    0,    0,    4,    5,    0,
  325.         6,    0,   96,    0,   97,    0,    0,  105,  105,    0,
  326.       105,  105,  105,  162,  162,    0,  106,   90,   98,    0,
  327.       104,    0,   83,   84,   28,   28,   28,   27,   28,    0,
  328.         0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  329.         0,  152,  152,  143,  143,  147,  147,    0,    0,   81,
  330.        81,   81,   81,   81,   44,   81,   81,   81,   49,   81,
  331.        81,   81,   81,   81,   81,   81,   81,   81,   81,   81,
  332.  
  333.        81,   81,   81,   81,   81,   81,   81,   81,    0,   81,
  334.        81,   81,   81,    0,    0,    0,   12,    0,    0,    0,
  335.         0,    0,    0,    4,    5,    0,  105,  105,  105,  105,
  336.       105,  105,  162,    0,    0,   28,   28,    0,    0,    0,
  337.         0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  338.       152,  152,  147,  147,   37,   38,   81,   81,   81,   81,
  339.        81,   81,   81,   81,   50,   51,   81,   81,   81,   55,
  340.        81,   81,   81,   81,   81,   81,   60,   81,   81,   81,
  341.        81,   81,   81,   67,    0,    0,    0,   81,   81,   81,
  342.        81,    0,   13,    0,    0,    0,    0,    0,    0,  105,
  343.  
  344.       105,  105,  105,  105,  105,    0,    0,   28,   28,  137,
  345.         0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  346.         0,    0,  152,  152,  147,  147,   39,   81,   41,   81,
  347.        43,   81,   81,   81,   47,   81,   52,   81,   81,   81,
  348.        81,   81,   81,   81,   81,   81,   62,   81,   81,   65,
  349.        81,    0,    0,    0,    0,   81,   81,   81,   81,    3,
  350.         0,    0,    0,    0,  105,  105,  105,    0,    0,   28,
  351.        28,    0,    0,    0,    0,    0,    0,    0,    0,    0,
  352.         0,    0,    0,  145,  146,  145,  146,   81,   42,   81,
  353.        81,   81,   81,   81,   81,   81,   81,   81,   81,   81,
  354.  
  355.        81,   78,   61,   81,   64,   81,    0,    0,    0,    0,
  356.        81,   81,   69,   70,    0,   10,    0,   11,    0,  103,
  357.         0,  102,    0,    0,    0,    0,    0,    0,    0,    0,
  358.         0,    0,    0,    0,   81,   81,   81,   45,   81,   48,
  359.        81,   81,   81,   81,   77,   81,   59,   63,   66,    0,
  360.         0,    0,    0,   79,   81,    0,  102,    0,    0,    0,
  361.         0,    0,    0,    0,    0,    0,    0,    0,    0,   81,
  362.        81,   81,   46,   81,   81,   56,   81,   81,    0,    0,
  363.         0,    0,   68,    0,    9,    0,  125,  126,  127,  128,
  364.       129,  130,  131,  132,  133,  134,  135,    0,   81,   81,
  365.  
  366.        81,   81,   81,   81,   81,    0,    0,    0,    0,    0,
  367.       136,   81,   81,   81,   81,   54,   81,   81,    0,    0,
  368.         0,    0,    0,    0,   81,   81,   81,   53,   81,   58,
  369.         0,    0,    0,    0,    0,    0,   81,   81,   81,   81,
  370.        72,    0,    0,    0,    0,   73,   81,   81,   81,   81,
  371.        71,    0,   75,    0,   81,   81,   81,   74,   76,   81,
  372.        81,   81,   81,   81,   81,   57,   40,    0
  373.     } ;
  374.  
  375. static yyconst int yy_ec[256] =
  376.     {   0,
  377.         1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
  378.         1,    1,    4,    1,    1,    1,    1,    1,    1,    1,
  379.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  380.         1,    2,    1,    5,    6,    7,    8,    1,    9,   10,
  381.        10,   11,   12,   13,   14,   10,   15,   16,   16,   16,
  382.        16,   16,   16,   16,   17,   18,   19,   20,    1,   21,
  383.        22,   23,   10,    1,   31,   32,   33,   34,   35,   36,
  384.        37,   38,   39,   40,   41,   42,   43,   44,   45,   46,
  385.        47,   48,   49,   50,   51,   52,   53,   54,   55,   47,
  386.        26,   27,   28,   29,   30,    1,   31,   32,   33,   34,
  387.  
  388.        35,   36,   37,   38,   39,   40,   41,   42,   43,   44,
  389.        45,   46,   47,   48,   49,   50,   51,   52,   53,   54,
  390.        55,   47,   56,   57,   58,    1,    1,    1,    1,    1,
  391.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  392.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  393.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  394.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  395.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  396.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  397.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  398.  
  399.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  400.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  401.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  402.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  403.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  404.         1,    1,    1,    1,    1
  405.     } ;
  406.  
  407. static yyconst int yy_meta[59] =
  408.     {   0,
  409.         1,    1,    2,    1,    3,    1,    1,    1,    4,    1,
  410.         5,    6,    1,    7,    4,    8,    8,    8,    8,    1,
  411.         1,    1,    1,    9,   10,    1,   11,   12,    1,   13,
  412.        14,   14,   14,   14,   14,   14,   15,   15,   15,   15,
  413.        15,   15,   15,   15,   15,   15,   15,   15,   15,   15,
  414.        15,   15,   15,   15,   15,    4,    1,   16
  415.     } ;
  416.  
  417. static yyconst short int yy_base[858] =
  418.     {   0,
  419.         0,   58,  115,  172,  120,  129, 2712, 2711,  230, 2705,
  420.       136,  141,  288,    0, 2683, 2682,  144,  151,  185,  191,
  421.       178,  188,  344,  347,  375,    0,  125,  131,  147,  216,
  422.       431,  434,  461,    0,  519,    0,  205,  349, 2710, 2716,
  423.       353, 2716, 2706,    0,  360, 2716, 2705,  144,  570, 2696,
  424.         0, 2716,  577, 2716, 2703, 2716,  438, 2716, 2684,  126,
  425.       149,  427,  591, 2716, 2701,  141, 2682, 2716,    0, 2716,
  426.      2699,    0, 2699, 2697,  155, 2696, 2716,    0, 2716, 2695,
  427.      2716,    0, 2662, 2641, 2637,    0, 2692, 2716, 2690, 2716,
  428.      2716, 2663,    0, 2716, 2716, 2716, 2688, 2716,  431, 2716,
  429.  
  430.      2716, 2716, 2687, 2716,  567, 2716, 2669,  571,  164, 2716,
  431.      2716, 2685,    0, 2667,  573, 2716,    0, 2716, 2683, 2716,
  432.       573, 2674,    0, 2649, 2628, 2716, 2716,  222, 2716,  356,
  433.       448, 2716,  450, 2667,    0, 2716, 2678, 2716,    0,    0,
  434.       198, 2716, 2677, 2621, 2716, 2667,    0, 2642, 2621, 2716,
  435.      2673, 2716, 2671, 2668, 2640, 2639, 2716,  544, 2639,  579,
  436.      2634, 2635,  318,    0, 2623, 2631,  424,  562, 2614,  587,
  437.      2629, 2613, 2618, 2626, 2629, 2604, 2716, 2716, 2653,  612,
  438.       634, 2716, 2654,    0,  637, 2716, 2653,  600, 2616,    0,
  439.         0,  641,  647,  651,  669,    0,    0,  453, 2716,    0,
  440.  
  441.       672, 2716, 2651, 2597,  605, 2716, 2649, 2616,  620,  657,
  442.       645, 2716,  662,    0, 2716, 2592,  688, 2716, 2646, 2592,
  443.      2636, 2625, 2716,    0, 2716, 2610,    0, 2716,    0,    0,
  444.      2642,    0,    0, 2640, 2716,    0, 2716,    0, 2602, 2598,
  445.       745,    0, 2638, 2716, 2716,    0, 2716,  688, 2716,  773,
  446.      2716, 2716, 2716, 2716,    0, 2716,  673, 2716,    0, 2716,
  447.         0, 2599, 2595,  690, 2716,  698,  707, 2716,  709, 2716,
  448.         0, 2716, 2716,    0,  596, 2579, 2716,  827,    0, 2596,
  449.      2592, 2632, 2716, 2628, 2716, 2593, 2592,    0,  642, 2582,
  450.       563, 2617, 2579,  620, 2578, 2577, 2583,  669, 2570, 2584,
  451.  
  452.      2572,    0, 2569, 2716, 2570, 2571, 2579, 2582,  685,  125,
  453.      2570, 2567, 2566,  688, 2608, 2716,  716, 2568,    0,    0,
  454.       720, 2716, 2608,  884, 2562, 2559, 2569,    0,    0,  723,
  455.      2716,  739, 2716,  805, 2716,  808, 2562,  787,  869,  876,
  456.       930,  881,  973,  800,    0, 2548, 2716, 2716, 2716, 2570,
  457.         0, 2559,    0,    0, 2568, 2557,    0, 2716,    0, 1009,
  458.      2581,  678,  870,  871,  874,  879,  913,  992,  974, 1013,
  459.       885, 2565, 2554,    0, 1067, 2563, 2552, 2546, 2545, 2557,
  460.      2562, 2561, 2550, 2557,    0, 2554, 2537, 2556,    0, 2536,
  461.      2543, 2533, 2548, 2568, 2537, 2549, 2544, 2542, 2541, 2532,
  462.  
  463.      2539, 2540, 2538, 2539,  578, 2520, 2538, 2525,  860, 2526,
  464.      2528, 2521, 2517, 2529,  817, 1044, 2716,  822, 1095,  914,
  465.      2532, 2523, 2517,    0,    0, 2524, 1102, 1025, 1142, 2539,
  466.      1028, 1163, 2716, 2513, 2521, 2523, 2507,    0, 2526, 1058,
  467.       891, 1014, 1019,  894, 1038, 1080, 1072, 1086, 1083, 1081,
  468.      2520, 2504, 2518, 2502, 2716, 2716, 2505, 2493, 2492, 2495,
  469.      2507, 1148, 2507, 2492,    0,    0, 2492, 2493, 2507,    0,
  470.      2525, 2490, 2498, 2522, 2485, 2495,    0, 2500, 2491, 2487,
  471.      2479, 2479, 2483,    0,  875, 2494, 2481, 2494, 2480, 2475,
  472.      2491, 2519, 2716,  920,  999, 2465, 2474, 2468, 2494, 2496,
  473.  
  474.      1105, 1184, 1081,  902,  969, 2479, 2491, 2463, 2477, 2716,
  475.       165, 1090, 1144, 1143, 1147, 1163, 1095, 1145, 1037, 1085,
  476.      1150, 1173, 2461, 2475, 2459, 2473,    0, 2458,    0, 2460,
  477.         0, 1165, 2454, 2469,    0, 2461,    0, 2471, 2410, 2414,
  478.      2434, 2400, 2393, 2405, 2385, 2382,    0, 2383, 2335,    0,
  479.      2335, 2330, 2326, 2309, 2278, 2259, 2269, 2268, 2256, 2297,
  480.      1046, 2238, 2242, 2253, 1179, 1142, 1145, 2247, 2246,    0,
  481.         0, 1191, 1192, 1172, 1201, 1202, 1204, 1205, 1206, 1207,
  482.      1209, 1210, 1208,    0,    0,    0,    0, 2254,    0, 2221,
  483.      2229, 2218, 2208, 2200, 2209, 2198, 2195, 2165, 2168, 2149,
  484.  
  485.      2132,    0,    0, 2129,    0, 2139, 2143, 2134, 2124, 2137,
  486.      2117, 2116,    0,    0, 1228, 2716, 1232, 2716, 2111, 2716,
  487.      2117, 2716, 2115, 2114, 2108, 2107, 2106, 2103, 2102, 2098,
  488.      2095, 2063, 2047, 1213, 2012, 1986, 1975,    0, 1954,    0,
  489.      1947, 1950, 1941, 1945,    0, 1942,    0,    0,    0, 1938,
  490.      1940, 1934, 1905,    0, 1872, 1234, 2716, 1888, 1882, 1881,
  491.      1864, 1848, 1832, 1828, 1827, 1826, 1823, 1806, 1809, 1784,
  492.      1787, 1772,    0, 1781, 1786,    0, 1766, 1767, 1759, 1744,
  493.      1213, 1736,    0, 1236, 2716, 1245, 2716, 2716, 2716, 2716,
  494.      2716, 2716, 2716, 2716, 2716, 2716, 2716, 1750, 1727, 1720,
  495.  
  496.      1701, 1687, 1670, 1681, 1667, 1679, 1659,  689, 1658, 1671,
  497.      2716, 1657, 1627, 1621, 1635,    0, 1603, 1596, 1595, 1608,
  498.      1602, 1587, 1586, 1583, 1581, 1587, 1555,    0, 1547,    0,
  499.      1527, 1507, 1520, 1503, 1483, 1482, 1485, 1443, 1440, 1228,
  500.      2716, 1225, 1224, 1206, 1210, 2716, 1213, 1202, 1018,  948,
  501.      2716,  945, 2716,  884,  780,  771,  779, 2716, 2716,  689,
  502.       673,  581,  408,  318,   86,    0,    0, 2716, 1263, 1279,
  503.      1295, 1311, 1327, 1343, 1359, 1375, 1391, 1407, 1423, 1439,
  504.      1455, 1471, 1481, 1496, 1505, 1520, 1536, 1545, 1560, 1576,
  505.      1592, 1608, 1624, 1634, 1649, 1659, 1674, 1690, 1706, 1718,
  506.  
  507.      1728, 1743, 1759, 1775, 1791, 1807, 1817, 1832, 1843, 1236,
  508.      1858, 1874, 1890, 1898, 1905, 1920, 1936, 1952, 1968, 1977,
  509.      1985, 2001, 2017, 2033, 2049, 2065, 2081, 2097, 2113, 2123,
  510.      2138, 2148, 2155, 2170, 2182, 2192, 2207, 2223, 2239, 2255,
  511.      2265, 2280, 2291, 2306, 2322, 2338, 2354, 2364, 2373, 2388,
  512.      2404, 2420, 2429, 2437, 2453, 2469, 2485
  513.     } ;
  514.  
  515. static yyconst short int yy_def[858] =
  516.     {   0,
  517.       768,  768,  769,  769,  770,  771,  772,  772,  768,    9,
  518.       773,  773,  768,   13,  774,  774,  775,  775,  776,  776,
  519.       777,  777,  778,  778,  768,   25,  779,  779,  780,  780,
  520.       781,  781,  768,   33,  768,   35,  782,  782,  768,  768,
  521.       768,  768,  768,  783,  768,  768,  768,  768,  784,  768,
  522.       785,  768,  768,  768,  768,  768,  768,  768,  768,  786,
  523.       787,  788,  768,  768,  768,  768,  768,  768,  789,  768,
  524.       789,  790,  791,  790,  790,  792,  768,  793,  768,  793,
  525.       768,  794,  794,  794,  793,  795,  768,  768,  795,  768,
  526.       768,  768,  796,  768,  768,  768,  768,  768,  768,  768,
  527.  
  528.       768,  768,  768,  768,  787,  768,  768,  787,  797,  768,
  529.       768,  768,  798,  768,  787,  768,  799,  768,  799,  768,
  530.       800,  768,  801,  801,  801,  768,  768,  802,  768,  802,
  531.       803,  768,  803,  768,  804,  768,  804,  768,  805,  806,
  532.       806,  768,  806,  806,  768,  806,  807,  807,  807,  768,
  533.       768,  768,  768,  808,  768,  768,  768,  809,  809,  809,
  534.       809,  809,  809,  809,  809,  809,  809,  810,  809,  809,
  535.       809,  809,  809,  809,  809,  809,  768,  768,  811,  768,
  536.       768,  768,  768,  783,  768,  768,  768,  768,  768,  812,
  537.       813,  768,  768,  768,  768,  814,  815,  816,  768,  785,
  538.  
  539.       768,  768,  768,  768,  817,  768,  768,  768,  818,  818,
  540.       819,  768,  768,  820,  768,  821,  768,  768,  768,  768,
  541.       768,  768,  768,  822,  768,  768,  823,  768,  824,  825,
  542.       825,  826,  827,  828,  768,  829,  768,  830,  830,  830,
  543.       768,  831,  768,  768,  768,  832,  768,  768,  768,  833,
  544.       768,  768,  768,  768,  834,  768,  835,  768,  835,  768,
  545.       836,  836,  836,  837,  768,  837,  838,  768,  838,  768,
  546.       839,  768,  768,  840,  840,  840,  768,  768,  841,  841,
  547.       841,  768,  768,  842,  768,  768,  768,  843,  843,  843,
  548.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  549.  
  550.       843,  843,  843,  768,  843,  843,  843,  843,  843,  843,
  551.       843,  843,  843,  843,  844,  768,  768,  768,  845,  846,
  552.       847,  768,  768,  768,  768,  768,  768,  848,  849,  850,
  553.       768,  850,  768,  851,  768,  851,  768,  852,  852,  852,
  554.       768,  852,  852,  768,  853,  854,  768,  768,  768,  768,
  555.       855,  768,  826,  827,  830,  830,  241,  768,  241,  241,
  556.       833,  833,  833,  833,  833,  833,  833,  833,  833,  833,
  557.       833,  836,  836,  278,  278,  841,  841,  768,  768,  843,
  558.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  559.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  560.  
  561.       843,  843,  843,  843,  843,  843,  843,  843,  768,  843,
  562.       843,  843,  843,  768,  847,  847,  768,  847,  847,  768,
  563.       768,  768,  768,  848,  849,  768,  341,  852,  343,  341,
  564.       852,  343,  768,  768,  768,  830,  830,  360,  768,  833,
  565.       833,  833,  833,  833,  833,  833,  833,  833,  833,  833,
  566.       836,  836,  841,  841,  768,  768,  843,  843,  843,  843,
  567.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  568.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  569.       843,  843,  843,  843,  768,  768,  768,  843,  843,  843,
  570.       843,  768,  768,  847,  847,  768,  768,  768,  768,  427,
  571.  
  572.       852,  343,  852,  852,  852,  768,  768,  830,  830,  768,
  573.       833,  833,  833,  833,  833,  833,  833,  833,  833,  833,
  574.       833,  833,  836,  836,  841,  841,  843,  843,  843,  843,
  575.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  576.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  577.       843,  768,  768,  768,  768,  843,  843,  843,  843,  768,
  578.       856,  768,  768,  768,  852,  852,  852,  768,  768,  830,
  579.       830,  833,  833,  833,  833,  833,  833,  833,  833,  833,
  580.       833,  833,  833,  836,  836,  841,  841,  843,  843,  843,
  581.       843,  843,  843,  843,  843,  843,  843,  843,  843,  843,
  582.  
  583.       843,  843,  843,  843,  843,  843,  768,  768,  768,  768,
  584.       843,  843,  843,  843,  856,  768,  856,  768,  768,  768,
  585.       768,  768,  833,  833,  833,  833,  833,  833,  833,  833,
  586.       833,  833,  833,  833,  843,  843,  843,  843,  843,  843,
  587.       843,  843,  843,  843,  843,  843,  843,  843,  843,  768,
  588.       768,  768,  768,  843,  843,  857,  768,  768,  768,  768,
  589.       768,  768,  768,  768,  768,  768,  768,  768,  833,  843,
  590.       843,  843,  843,  843,  843,  843,  843,  843,  768,  768,
  591.       768,  768,  843,  857,  768,  857,  768,  768,  768,  768,
  592.       768,  768,  768,  768,  768,  768,  768,  768,  843,  843,
  593.  
  594.       843,  843,  843,  843,  843,  768,  768,  768,  768,  768,
  595.       768,  843,  843,  843,  843,  843,  843,  843,  768,  768,
  596.       768,  768,  768,  768,  843,  843,  843,  843,  843,  843,
  597.       768,  768,  768,  768,  768,  768,  843,  843,  843,  843,
  598.       768,  768,  768,  768,  768,  768,  843,  843,  843,  843,
  599.       768,  768,  768,  768,  843,  843,  843,  768,  768,  843,
  600.       843,  843,  843,  843,  843,  843,  843,    0,  768,  768,
  601.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  602.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  603.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  604.  
  605.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  606.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  607.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  608.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  609.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  610.       768,  768,  768,  768,  768,  768,  768
  611.     } ;
  612.  
  613. static yyconst short int yy_nxt[2775] =
  614.     {   0,
  615.        40,   41,   42,   43,   40,   40,   40,   40,   40,   40,
  616.        40,   40,   40,   40,   40,   40,   40,   40,   40,   40,
  617.        40,   40,   40,   44,   44,   40,   40,   40,   40,   44,
  618.        44,   44,   44,   44,   44,   44,   44,   44,   44,   44,
  619.        44,   44,   44,   44,   44,   44,   44,   44,   44,   44,
  620.        44,   44,   44,   44,   44,   40,   40,   40,   40,   45,
  621.        46,   47,   40,   48,   40,   49,   40,   40,   40,   40,
  622.        40,   40,   50,   40,   40,   40,   40,   40,   40,   40,
  623.        40,   51,   51,   40,   40,   40,   40,   51,   51,   51,
  624.        51,   51,   51,   51,   51,   51,   51,   51,   51,   51,
  625.  
  626.        51,   51,   51,   51,   51,   51,   51,   51,   51,   51,
  627.        51,   51,   51,   40,   40,   40,   53,   54,   55,   56,
  628.       767,   57,   70,   71,   58,   58,   58,  129,  130,   58,
  629.        73,   70,   74,  129,  130,   59,   75,   87,   88,   89,
  630.        60,   61,   87,   88,   89,  188,   96,   97,  224,  132,
  631.       133,  210,  211,   96,   97,  404,   98,  134,  405,   99,
  632.        99,   99,   99,   98,  213,  213,   99,   99,   99,   99,
  633.        62,   58,   58,   63,   64,   65,   56,  252,   57,   66,
  634.        40,   58,   58,   58,  439,  189,   58,  102,  103,  104,
  635.        40,  252,   67,  102,  103,  104,  225,   60,   61,  275,
  636.  
  637.        68,  100,  214,  107,  108,  276,  109,  178,  100,  179,
  638.       232,  105,  233,  107,  108,  572,  109,  105,  132,  133,
  639.       180,  180,  180,  180,  265,  266,  134,   62,   58,   58,
  640.        78,   78,   79,   80,   78,   78,   78,   78,   78,   78,
  641.        81,   78,   78,   78,   78,   78,   78,   78,   78,   78,
  642.        78,   78,   78,   82,   82,   78,   78,   78,   78,   82,
  643.        82,   82,   82,   82,   82,   82,   82,   82,   82,   82,
  644.        82,   82,   82,   82,   82,   82,   82,   83,   82,   82,
  645.        82,   82,   82,   82,   84,   78,   78,   78,   90,   90,
  646.        40,   90,   90,   90,   90,   90,   90,   90,   91,   90,
  647.  
  648.        91,   90,   90,   90,   90,   90,   90,   90,   90,   90,
  649.        92,   93,   93,   90,   90,   90,   90,   93,   93,   93,
  650.        93,   93,   93,   93,   93,   93,   93,   93,   93,   93,
  651.        93,   93,   93,   93,   93,   93,   93,   93,   93,   93,
  652.        93,   93,   93,   90,   90,   90,  111,  112,  296,  111,
  653.       112,  178,  766,  179,  181,  182,  183,  113,  265,  266,
  654.       113,  185,  186,  187,  180,  180,  180,  180,  297,  114,
  655.       115,  116,  114,  115,  116,  117,  117,  118,  119,  120,
  656.       117,  117,  117,  121,  117,  117,  117,  117,  117,  122,
  657.       117,  117,  117,  117,  117,  117,  117,  117,  123,  123,
  658.  
  659.       117,  117,  117,  117,  123,  123,  123,  123,  123,  123,
  660.       123,  123,  123,  123,  123,  123,  123,  123,  123,  123,
  661.       123,  123,  124,  123,  123,  123,  123,  123,  123,  125,
  662.       126,  117,  127,  136,  137,  138,  136,  137,  138,  206,
  663.       206,  207,  215,  215,  215,  215,  248,  248,  248,  248,
  664.       268,  269,  268,  269,  300,  331,  332,  139,  301,  765,
  665.       139,  140,  141,  142,  143,  140,  140,  140,  144,  140,
  666.       140,  145,  140,  140,  140,  146,  140,  140,  140,  140,
  667.       140,  140,  140,  140,  147,  147,  140,  140,  140,  140,
  668.       147,  147,  147,  147,  147,  147,  147,  147,  147,  147,
  669.  
  670.       147,  147,  147,  147,  147,  147,  147,  147,  148,  147,
  671.       147,  147,  147,  147,  147,  149,  140,  140,  140,  150,
  672.       151,  152,  153,  154,  150,  150,  150,  150,  150,  150,
  673.       150,  150,  150,  150,  150,  155,  156,  150,  150,  150,
  674.       157,  150,  150,  150,  150,  150,  150,  150,  150,  158,
  675.       159,  160,  161,  162,  163,  164,  164,  165,  164,  164,
  676.       166,  167,  168,  169,  170,  164,  171,  172,  164,  173,
  677.       174,  175,  164,  176,  150,  150,  150,  191,  201,  202,
  678.       203,  258,  213,  213,  204,  289,  213,  213,  213,  213,
  679.       292,  290,  217,  218,  219,  383,  303,  275,  220,  259,
  680.  
  681.       192,  188,  193,  276,  193,  221,  304,  335,  336,  293,
  682.       193,  222,  384,  193,  194,  195,  480,  193,  196,  223,
  683.       214,  306,  481,  197,  214,  198,  214,  317,  317,  317,
  684.       317,  307,  764,  205,  308,  181,  182,  183,  185,  186,
  685.       187,  189,  321,  322,  323,  339,  340,  205,  321,  322,
  686.       323,  387,  321,  322,  323,  388,  324,  324,  324,  324,
  687.       342,  342,  324,  324,  324,  324,  324,  324,  324,  324,
  688.       321,  322,  323,  201,  202,  203,  341,  344,  344,  204,
  689.       380,  258,  339,  340,  324,  324,  324,  324,  325,  217,
  690.       218,  219,  265,  266,  381,  220,  326,  439,  343,  259,
  691.  
  692.       265,  266,  221,  248,  248,  248,  248,  673,  222,  268,
  693.       269,  268,  269,  327,  392,  402,  223,  409,  393,  440,
  694.       410,  416,  417,  418,  403,  331,  332,  763,  205,  411,
  695.       412,  317,  317,  317,  317,  419,  419,  419,  419,  721,
  696.       413,  331,  332,  722,  205,  357,  357,  358,  359,  357,
  697.       357,  357,  357,  357,  357,  360,  357,  357,  357,  357,
  698.       357,  357,  357,  357,  357,  357,  357,  357,  360,  360,
  699.       357,  357,  357,  357,  360,  360,  360,  360,  360,  360,
  700.       360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
  701.       360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
  702.  
  703.       357,  357,  357,  362,  363,  364,  365,  335,  336,  366,
  704.       335,  336,  339,  340,  367,  212,  212,  762,  368,  493,
  705.       494,  369,  761,  370,  417,  494,  371,  374,  374,  760,
  706.       374,  374,  374,  374,  374,  374,  374,  375,  374,  374,
  707.       374,  374,  374,  374,  374,  374,  374,  374,  374,  374,
  708.       375,  375,  374,  374,  374,  374,  375,  375,  375,  375,
  709.       375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
  710.       375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
  711.       375,  375,  374,  374,  374,  420,  322,  323,  427,  439,
  712.       439,  428,  428,  439,  339,  340,  431,  431,  439,  324,
  713.  
  714.       324,  324,  324,  338,  439,  485,  339,  340,  486,  487,
  715.       439,  441,  443,  439,  442,  420,  322,  323,  450,  552,
  716.       759,  513,  493,  494,  516,  553,  444,  339,  340,  429,
  717.       338,  338,  439,  338,  338,  338,  338,  338,  338,  338,
  718.       338,  338,  338,  338,  338,  338,  338,  338,  338,  338,
  719.       338,  338,  338,  430,  430,  339,  340,  445,  338,  338,
  720.       430,  430,  430,  430,  430,  430,  430,  430,  430,  430,
  721.       430,  430,  430,  430,  430,  430,  430,  430,  430,  430,
  722.       430,  430,  430,  430,  430,  338,  338,  338,  432,  432,
  723.       432,  432,  758,  439,  339,  340,  432,  757,  339,  340,
  724.  
  725.       495,  417,  418,  432,  432,  432,  432,  432,  432,  360,
  726.       360,  439,  438,  360,  360,  360,  360,  360,  360,  448,
  727.       360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
  728.       360,  360,  439,  439,  360,  360,  360,  360,  439,  446,
  729.       501,  501,  447,  504,  504,  416,  417,  418,  616,  617,
  730.       339,  340,  638,  339,  340,  515,  439,  439,  449,  419,
  731.       419,  419,  419,  514,  360,  360,  360,  375,  375,  580,
  732.       375,  375,  375,  375,  375,  375,  375,  439,  375,  375,
  733.       375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
  734.       517,  439,  375,  375,  375,  375,  495,  417,  418,  439,
  735.  
  736.       439,  511,  439,  512,  439,  439,  339,  340,  209,  439,
  737.       419,  419,  419,  419,  439,  519,  520,  581,  518,  522,
  738.       566,  566,  375,  375,  375,  500,  500,  573,  521,  578,
  739.       339,  340,  500,  500,  500,  500,  500,  500,  500,  500,
  740.       500,  500,  500,  500,  500,  500,  500,  500,  500,  500,
  741.       500,  500,  500,  500,  500,  500,  500,  502,  502,  502,
  742.       502,  532,  439,  439,  439,  502,  439,  339,  340,  439,
  743.       339,  340,  502,  502,  502,  502,  502,  502,  505,  505,
  744.       505,  505,  439,  533,  582,  576,  505,  574,  579,  534,
  745.       575,  439,  439,  505,  505,  505,  505,  505,  505,  567,
  746.  
  747.       567,  567,  567,  590,  339,  340,  338,  567,  577,  583,
  748.       439,  439,  625,  591,  567,  567,  567,  567,  567,  567,
  749.       439,  439,  624,  439,  439,  439,  439,  439,  439,  439,
  750.       616,  617,  439,  623,  616,  617,  685,  686,  685,  686,
  751.       756,  628,  626,  632,  708,  755,  634,  685,  686,  302,
  752.       302,  627,  629,  754,  753,  630,  631,  633,  752,  751,
  753.       750,  709,  669,   52,   52,   52,   52,   52,   52,   52,
  754.        52,   52,   52,   52,   52,   52,   52,   52,   52,   69,
  755.        69,   69,   69,   69,   69,   69,   69,   69,   69,   69,
  756.        69,   69,   69,   69,   69,   72,   72,   72,   72,   72,
  757.  
  758.        72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
  759.        72,   76,   76,   76,   76,   76,   76,   76,   76,   76,
  760.        76,   76,   76,   76,   76,   76,   76,   86,   86,   86,
  761.        86,   86,   86,   86,   86,   86,   86,   86,   86,   86,
  762.        86,   86,   86,   40,   40,   40,   40,   40,   40,   40,
  763.        40,   40,   40,   40,   40,   40,   40,   40,   40,   95,
  764.        95,   95,   95,   95,   95,   95,   95,   95,   95,   95,
  765.        95,   95,   95,   95,   95,  101,  101,  101,  101,  101,
  766.       101,  101,  101,  101,  101,  101,  101,  101,  101,  101,
  767.       101,  106,  106,  106,  106,  106,  106,  106,  106,  106,
  768.  
  769.       106,  106,  106,  106,  106,  106,  106,  110,  110,  110,
  770.       110,  110,  110,  110,  110,  110,  110,  110,  110,  110,
  771.       110,  110,  110,  128,  128,  128,  128,  128,  128,  128,
  772.       128,  128,  128,  128,  128,  128,  128,  128,  128,  131,
  773.       131,  131,  131,  131,  131,  131,  131,  131,  131,  131,
  774.       131,  131,  131,  131,  131,  135,  135,  135,  135,  135,
  775.       135,  135,  135,  135,  135,  135,  135,  135,  135,  135,
  776.       135,  177,  177,  177,  177,  177,  177,  177,  177,  177,
  777.       177,  177,  177,  177,  177,  177,  177,  184,  184,  184,
  778.       184,  749,  748,  184,  184,  184,  190,  190,  190,  190,
  779.  
  780.       190,  190,  190,  190,  190,  190,  190,  190,  190,  190,
  781.       190,  200,  200,  200,  200,  747,  746,  200,  200,  200,
  782.       209,  745,  209,  209,  209,  209,  209,  209,  209,  209,
  783.       209,  209,  209,  209,  209,  209,  212,  744,  212,  212,
  784.       212,  212,  212,  212,  212,  212,  212,  212,  212,  212,
  785.       212,  212,  216,  216,  216,  743,  742,  216,  216,  216,
  786.       227,  741,  227,  227,  227,  227,  227,  227,  227,  227,
  787.       227,  227,  227,  227,  227,  227,  229,  740,  229,  229,
  788.       229,  229,  229,  229,  229,  229,  229,  229,  229,  229,
  789.       229,  229,  230,  739,  230,  230,  230,  230,  230,  230,
  790.  
  791.       230,  230,  230,  230,  230,  230,  230,  230,  234,  234,
  792.       234,  234,  234,  234,  234,  234,  234,  234,  234,  234,
  793.       234,  234,  234,  234,  236,  738,  236,  236,  737,  236,
  794.       236,  236,  736,  735,  236,  236,  734,  733,  732,  236,
  795.       238,  238,  238,  238,  731,  730,  238,  238,  238,  242,
  796.       729,  242,  242,  242,  242,  242,  242,  242,  242,  242,
  797.       242,  242,  242,  242,  242,  246,  246,  246,  246,  728,
  798.       727,  246,  246,  246,  251,  726,  251,  251,  251,  251,
  799.       251,  251,  251,  251,  251,  251,  251,  251,  251,  251,
  800.       254,  725,  254,  254,  254,  254,  254,  254,  254,  254,
  801.  
  802.       254,  724,  254,  254,  254,  254,  255,  723,  720,  719,
  803.       255,  255,  255,  255,  718,  717,  255,  255,  257,  716,
  804.       257,  257,  257,  257,  257,  257,  257,  257,  257,  257,
  805.       257,  257,  257,  257,  261,  261,  261,  261,  715,  714,
  806.       261,  261,  261,  264,  264,  264,  264,  264,  264,  264,
  807.       264,  264,  264,  264,  264,  264,  264,  264,  264,  267,
  808.       267,  267,  267,  713,  267,  267,  267,  267,  267,  267,
  809.       267,  267,  267,  267,  267,  271,  712,  711,  271,  271,
  810.       271,  271,  271,  271,  271,  710,  271,  271,  271,  271,
  811.       271,  273,  707,  273,  273,  273,  273,  273,  273,  273,
  812.  
  813.       273,  273,  273,  273,  273,  273,  273,  274,  706,  274,
  814.       274,  705,  274,  274,  274,  704,  703,  274,  274,  702,
  815.       701,  700,  274,  279,  279,  279,  279,  699,  698,  279,
  816.       279,  279,  284,  697,  284,  284,  284,  284,  284,  284,
  817.       284,  284,  284,  284,  284,  284,  284,  284,  288,  288,
  818.       696,  288,  288,  695,  694,  693,  288,  288,  315,  692,
  819.       315,  315,  315,  315,  315,  315,  315,  315,  315,  315,
  820.       315,  315,  315,  315,  319,  691,  319,  319,  319,  319,
  821.       319,  319,  319,  319,  319,  319,  319,  319,  319,  319,
  822.       320,  690,  320,  320,  320,  320,  320,  320,  320,  320,
  823.  
  824.       320,  320,  320,  320,  320,  320,  328,  328,  689,  688,
  825.       328,  328,  328,  329,  329,  687,  683,  329,  329,  329,
  826.       330,  330,  330,  330,  330,  330,  330,  330,  330,  330,
  827.       330,  330,  330,  330,  330,  330,  334,  334,  334,  334,
  828.       334,  334,  334,  334,  334,  334,  334,  334,  334,  334,
  829.       334,  334,  338,  682,  338,  338,  338,  338,  338,  338,
  830.       338,  338,  338,  681,  338,  338,  338,  338,  209,  680,
  831.       209,  209,  209,  209,  209,  209,  209,  209,  209,  209,
  832.       209,  209,  209,  209,  345,  345,  679,  678,  677,  676,
  833.       345,  346,  346,  346,  346,  675,  674,  346,  346,  346,
  834.  
  835.       346,  351,  673,  351,  351,  351,  351,  351,  351,  351,
  836.       351,  351,  351,  351,  351,  351,  351,  227,  672,  227,
  837.       227,  227,  227,  227,  227,  227,  227,  227,  227,  227,
  838.       227,  227,  227,  229,  671,  229,  229,  229,  229,  229,
  839.       229,  229,  229,  229,  229,  229,  229,  229,  229,  230,
  840.       670,  230,  230,  230,  230,  230,  230,  230,  230,  230,
  841.       230,  230,  230,  230,  230,  353,  668,  353,  353,  353,
  842.       353,  353,  353,  353,  353,  353,  353,  353,  353,  353,
  843.       353,  354,  667,  354,  354,  354,  354,  354,  354,  354,
  844.       354,  354,  354,  354,  354,  354,  354,  234,  234,  234,
  845.  
  846.       234,  234,  234,  234,  234,  234,  234,  234,  234,  234,
  847.       234,  234,  234,  236,  666,  236,  236,  665,  236,  236,
  848.       236,  664,  663,  236,  236,  662,  661,  660,  236,  238,
  849.       238,  238,  238,  659,  658,  238,  238,  238,  242,  657,
  850.       242,  242,  242,  242,  242,  242,  242,  242,  242,  242,
  851.       242,  242,  242,  242,  246,  246,  246,  246,  656,  655,
  852.       246,  246,  246,  361,  361,  654,  653,  652,  361,  361,
  853.       255,  651,  650,  649,  255,  255,  255,  255,  648,  647,
  854.       255,  255,  257,  646,  257,  257,  257,  257,  257,  257,
  855.       257,  257,  257,  257,  257,  257,  257,  257,  261,  261,
  856.  
  857.       261,  261,  645,  644,  261,  261,  261,  264,  264,  264,
  858.       264,  264,  264,  264,  264,  264,  264,  264,  264,  264,
  859.       264,  264,  264,  267,  267,  267,  267,  643,  267,  267,
  860.       267,  267,  267,  267,  267,  267,  267,  267,  267,  271,
  861.       642,  641,  271,  271,  271,  271,  271,  271,  271,  640,
  862.       271,  271,  271,  271,  271,  274,  639,  274,  274,  638,
  863.       274,  274,  274,  637,  636,  274,  274,  635,  622,  621,
  864.       274,  279,  279,  279,  279,  620,  619,  279,  279,  279,
  865.       284,  618,  284,  284,  284,  284,  284,  284,  284,  284,
  866.       284,  284,  284,  284,  284,  284,  288,  288,  560,  288,
  867.  
  868.       288,  614,  613,  612,  288,  288,  315,  611,  315,  315,
  869.       315,  315,  315,  315,  315,  315,  315,  315,  315,  315,
  870.       315,  315,  319,  610,  319,  319,  319,  319,  319,  319,
  871.       319,  319,  319,  319,  319,  319,  319,  319,  320,  609,
  872.       320,  320,  320,  320,  320,  320,  320,  320,  320,  320,
  873.       320,  320,  320,  320,  415,  415,  415,  415,  415,  415,
  874.       415,  415,  415,  415,  415,  415,  415,  415,  415,  415,
  875.       424,  424,  424,  424,  608,  607,  424,  424,  424,  425,
  876.       425,  425,  425,  606,  605,  425,  425,  425,  330,  330,
  877.       330,  330,  330,  330,  330,  330,  330,  330,  330,  330,
  878.  
  879.       330,  330,  330,  330,  334,  334,  334,  334,  334,  334,
  880.       334,  334,  334,  334,  334,  334,  334,  334,  334,  334,
  881.       338,  604,  338,  338,  338,  338,  338,  338,  338,  338,
  882.       338,  603,  338,  338,  338,  338,  433,  433,  602,  601,
  883.       600,  599,  433,  346,  346,  346,  346,  598,  597,  346,
  884.       346,  346,  346,  351,  596,  351,  351,  351,  351,  351,
  885.       351,  351,  351,  351,  351,  351,  351,  351,  351,  615,
  886.       615,  615,  615,  615,  615,  615,  615,  615,  615,  615,
  887.       615,  615,  615,  615,  615,  684,  684,  684,  684,  684,
  888.       684,  684,  684,  684,  684,  684,  684,  684,  684,  684,
  889.  
  890.       684,  595,  594,  593,  592,  589,  588,  587,  586,  585,
  891.       584,  571,  570,  569,  568,  565,  564,  563,  562,  561,
  892.       560,  559,  558,  557,  556,  555,  554,  551,  550,  549,
  893.       548,  547,  546,  545,  544,  543,  542,  541,  540,  539,
  894.       538,  537,  536,  535,  531,  530,  529,  528,  527,  526,
  895.       525,  524,  523,  510,  509,  508,  507,  506,  503,  499,
  896.       498,  497,  496,  492,  491,  490,  489,  488,  484,  483,
  897.       482,  479,  478,  477,  476,  475,  474,  473,  472,  471,
  898.       470,  469,  468,  467,  466,  465,  464,  463,  462,  461,
  899.       460,  459,  458,  457,  456,  455,  454,  453,  452,  451,
  900.  
  901.       439,  437,  436,  435,  434,  347,  426,  423,  422,  421,
  902.       322,  414,  316,  408,  407,  406,  401,  400,  399,  398,
  903.       397,  396,  395,  394,  391,  390,  389,  386,  385,  382,
  904.       379,  378,  285,  282,  377,  376,  278,  373,  372,  243,
  905.       356,  355,  235,  231,  352,  350,  349,  348,  218,  347,
  906.       337,  206,  333,  202,  318,  186,  182,  316,  314,  313,
  907.       312,  311,  310,  309,  305,  299,  298,  295,  294,  291,
  908.       287,  286,  285,  283,  282,  281,  280,  260,  278,  277,
  909.       272,  270,  263,  262,  260,  256,  250,  253,  250,  249,
  910.       247,  245,  244,  243,  241,  240,  239,  237,  235,  228,
  911.  
  912.       231,  228,  226,  218,  208,  202,  199,  186,  182,  768,
  913.        94,   94,   85,   77,   77,   39,  768,  768,  768,  768,
  914.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  915.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  916.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  917.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  918.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  919.       768,  768,  768,  768
  920.     } ;
  921.  
  922. static yyconst short int yy_chk[2775] =
  923.     {   0,
  924.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  925.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  926.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  927.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  928.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  929.         1,    1,    1,    1,    1,    1,    1,    1,    2,    2,
  930.         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  931.         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  932.         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  933.         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  934.  
  935.         2,    2,    2,    2,    2,    2,    2,    2,    2,    2,
  936.         2,    2,    2,    2,    2,    2,    3,    3,    3,    3,
  937.       765,    3,    5,    5,    3,    3,    3,   27,   27,    3,
  938.         6,    6,    6,   28,   28,    3,    6,   11,   11,   11,
  939.         3,    3,   12,   12,   12,   48,   17,   17,   66,   29,
  940.        29,   60,   60,   18,   18,  310,   17,   29,  310,   17,
  941.        17,   17,   17,   18,   61,   61,   18,   18,   18,   18,
  942.         3,    3,    3,    4,    4,    4,    4,  109,    4,    4,
  943.        21,    4,    4,    4,  511,   48,    4,   19,   19,   19,
  944.        22,  109,    4,   20,   20,   20,   66,    4,    4,  141,
  945.  
  946.         4,   17,   61,   21,   21,  141,   21,   37,   18,   37,
  947.        75,   19,   75,   22,   22,  511,   22,   20,   30,   30,
  948.        37,   37,   37,   37,  128,  128,   30,    4,    4,    4,
  949.         9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  950.         9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  951.         9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  952.         9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  953.         9,    9,    9,    9,    9,    9,    9,    9,    9,    9,
  954.         9,    9,    9,    9,    9,    9,    9,    9,   13,   13,
  955.        13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  956.  
  957.        13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  958.        13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  959.        13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  960.        13,   13,   13,   13,   13,   13,   13,   13,   13,   13,
  961.        13,   13,   13,   13,   13,   13,   23,   23,  163,   24,
  962.        24,   38,  764,   38,   41,   41,   41,   23,  130,  130,
  963.        24,   45,   45,   45,   38,   38,   38,   38,  163,   23,
  964.        23,   23,   24,   24,   24,   25,   25,   25,   25,   25,
  965.        25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  966.        25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  967.  
  968.        25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  969.        25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  970.        25,   25,   25,   25,   25,   25,   25,   25,   25,   25,
  971.        25,   25,   25,   31,   31,   31,   32,   32,   32,   57,
  972.        57,   57,   62,   62,   62,   62,   99,   99,   99,   99,
  973.       131,  131,  133,  133,  167,  198,  198,   31,  167,  763,
  974.        32,   33,   33,   33,   33,   33,   33,   33,   33,   33,
  975.        33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
  976.        33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
  977.        33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
  978.  
  979.        33,   33,   33,   33,   33,   33,   33,   33,   33,   33,
  980.        33,   33,   33,   33,   33,   33,   33,   33,   33,   35,
  981.        35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
  982.        35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
  983.        35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
  984.        35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
  985.        35,   35,   35,   35,   35,   35,   35,   35,   35,   35,
  986.        35,   35,   35,   35,   35,   35,   35,   49,   53,   53,
  987.        53,  121,  105,  105,   53,  158,  108,  108,  115,  115,
  988.       160,  158,   63,   63,   63,  291,  168,  275,   63,  121,
  989.  
  990.        49,  188,   49,  275,   49,   63,  168,  205,  205,  160,
  991.        49,   63,  291,   49,   49,   49,  405,   49,   49,   63,
  992.       105,  170,  405,   49,  108,   49,  115,  180,  180,  180,
  993.       180,  170,  762,   53,  170,  181,  181,  181,  185,  185,
  994.       185,  188,  192,  192,  192,  209,  209,   63,  193,  193,
  995.       193,  294,  194,  194,  194,  294,  192,  192,  192,  192,
  996.       211,  211,  193,  193,  193,  193,  194,  194,  194,  194,
  997.       195,  195,  195,  201,  201,  201,  210,  213,  213,  201,
  998.       289,  257,  210,  210,  195,  195,  195,  195,  192,  217,
  999.       217,  217,  264,  264,  289,  217,  194,  362,  211,  257,
  1000.  
  1001.       266,  266,  217,  248,  248,  248,  248,  761,  217,  267,
  1002.       267,  269,  269,  195,  298,  309,  217,  314,  298,  362,
  1003.       314,  321,  321,  321,  309,  330,  330,  760,  201,  314,
  1004.       314,  317,  317,  317,  317,  321,  321,  321,  321,  708,
  1005.       314,  332,  332,  708,  217,  241,  241,  241,  241,  241,
  1006.       241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
  1007.       241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
  1008.       241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
  1009.       241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
  1010.       241,  241,  241,  241,  241,  241,  241,  241,  241,  241,
  1011.  
  1012.       241,  241,  241,  250,  250,  250,  250,  334,  334,  250,
  1013.       336,  336,  338,  338,  250,  344,  344,  757,  250,  415,
  1014.       415,  250,  756,  250,  418,  418,  250,  278,  278,  755,
  1015.       278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
  1016.       278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
  1017.       278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
  1018.       278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
  1019.       278,  278,  278,  278,  278,  278,  278,  278,  278,  278,
  1020.       278,  278,  278,  278,  278,  324,  324,  324,  339,  363,
  1021.       364,  340,  340,  365,  339,  339,  342,  342,  366,  324,
  1022.  
  1023.       324,  324,  324,  340,  371,  409,  342,  342,  409,  409,
  1024.       441,  363,  365,  444,  364,  420,  420,  420,  371,  485,
  1025.       754,  441,  494,  494,  444,  485,  366,  504,  504,  340,
  1026.       341,  341,  367,  341,  341,  341,  341,  341,  341,  341,
  1027.       341,  341,  341,  341,  341,  341,  341,  341,  341,  341,
  1028.       341,  341,  341,  341,  341,  341,  341,  367,  341,  341,
  1029.       341,  341,  341,  341,  341,  341,  341,  341,  341,  341,
  1030.       341,  341,  341,  341,  341,  341,  341,  341,  341,  341,
  1031.       341,  341,  341,  341,  341,  341,  341,  341,  343,  343,
  1032.       343,  343,  752,  369,  505,  505,  343,  750,  343,  343,
  1033.  
  1034.       495,  495,  495,  343,  343,  343,  343,  343,  343,  360,
  1035.       360,  368,  360,  360,  360,  360,  360,  360,  360,  369,
  1036.       360,  360,  360,  360,  360,  360,  360,  360,  360,  360,
  1037.       360,  360,  370,  442,  360,  360,  360,  360,  443,  368,
  1038.       428,  428,  368,  431,  431,  416,  416,  416,  561,  561,
  1039.       428,  428,  749,  431,  431,  443,  519,  445,  370,  416,
  1040.       416,  416,  416,  442,  360,  360,  360,  375,  375,  519,
  1041.       375,  375,  375,  375,  375,  375,  375,  440,  375,  375,
  1042.       375,  375,  375,  375,  375,  375,  375,  375,  375,  375,
  1043.       445,  447,  375,  375,  375,  375,  419,  419,  419,  446,
  1044.  
  1045.       450,  440,  449,  440,  520,  448,  503,  503,  503,  512,
  1046.       419,  419,  419,  419,  517,  447,  448,  520,  446,  450,
  1047.       501,  501,  375,  375,  375,  427,  427,  512,  449,  517,
  1048.       501,  501,  427,  427,  427,  427,  427,  427,  427,  427,
  1049.       427,  427,  427,  427,  427,  427,  427,  427,  427,  427,
  1050.       427,  427,  427,  427,  427,  427,  427,  429,  429,  429,
  1051.       429,  462,  514,  513,  518,  429,  515,  566,  566,  521,
  1052.       567,  567,  429,  429,  429,  429,  429,  429,  432,  432,
  1053.       432,  432,  516,  462,  521,  515,  432,  513,  518,  462,
  1054.       514,  574,  522,  432,  432,  432,  432,  432,  432,  502,
  1055.  
  1056.       502,  502,  502,  532,  565,  565,  565,  502,  516,  522,
  1057.       572,  573,  574,  532,  502,  502,  502,  502,  502,  502,
  1058.       575,  576,  573,  577,  578,  579,  580,  583,  581,  582,
  1059.       615,  615,  634,  572,  617,  617,  656,  656,  684,  684,
  1060.       748,  577,  575,  581,  681,  747,  583,  686,  686,  810,
  1061.       810,  576,  578,  745,  744,  579,  580,  582,  743,  742,
  1062.       740,  681,  634,  769,  769,  769,  769,  769,  769,  769,
  1063.       769,  769,  769,  769,  769,  769,  769,  769,  769,  770,
  1064.       770,  770,  770,  770,  770,  770,  770,  770,  770,  770,
  1065.       770,  770,  770,  770,  770,  771,  771,  771,  771,  771,
  1066.  
  1067.       771,  771,  771,  771,  771,  771,  771,  771,  771,  771,
  1068.       771,  772,  772,  772,  772,  772,  772,  772,  772,  772,
  1069.       772,  772,  772,  772,  772,  772,  772,  773,  773,  773,
  1070.       773,  773,  773,  773,  773,  773,  773,  773,  773,  773,
  1071.       773,  773,  773,  774,  774,  774,  774,  774,  774,  774,
  1072.       774,  774,  774,  774,  774,  774,  774,  774,  774,  775,
  1073.       775,  775,  775,  775,  775,  775,  775,  775,  775,  775,
  1074.       775,  775,  775,  775,  775,  776,  776,  776,  776,  776,
  1075.       776,  776,  776,  776,  776,  776,  776,  776,  776,  776,
  1076.       776,  777,  777,  777,  777,  777,  777,  777,  777,  777,
  1077.  
  1078.       777,  777,  777,  777,  777,  777,  777,  778,  778,  778,
  1079.       778,  778,  778,  778,  778,  778,  778,  778,  778,  778,
  1080.       778,  778,  778,  779,  779,  779,  779,  779,  779,  779,
  1081.       779,  779,  779,  779,  779,  779,  779,  779,  779,  780,
  1082.       780,  780,  780,  780,  780,  780,  780,  780,  780,  780,
  1083.       780,  780,  780,  780,  780,  781,  781,  781,  781,  781,
  1084.       781,  781,  781,  781,  781,  781,  781,  781,  781,  781,
  1085.       781,  782,  782,  782,  782,  782,  782,  782,  782,  782,
  1086.       782,  782,  782,  782,  782,  782,  782,  783,  783,  783,
  1087.       783,  739,  738,  783,  783,  783,  784,  784,  784,  784,
  1088.  
  1089.       784,  784,  784,  784,  784,  784,  784,  784,  784,  784,
  1090.       784,  785,  785,  785,  785,  737,  736,  785,  785,  785,
  1091.       786,  735,  786,  786,  786,  786,  786,  786,  786,  786,
  1092.       786,  786,  786,  786,  786,  786,  787,  734,  787,  787,
  1093.       787,  787,  787,  787,  787,  787,  787,  787,  787,  787,
  1094.       787,  787,  788,  788,  788,  733,  732,  788,  788,  788,
  1095.       789,  731,  789,  789,  789,  789,  789,  789,  789,  789,
  1096.       789,  789,  789,  789,  789,  789,  790,  729,  790,  790,
  1097.       790,  790,  790,  790,  790,  790,  790,  790,  790,  790,
  1098.       790,  790,  791,  727,  791,  791,  791,  791,  791,  791,
  1099.  
  1100.       791,  791,  791,  791,  791,  791,  791,  791,  792,  792,
  1101.       792,  792,  792,  792,  792,  792,  792,  792,  792,  792,
  1102.       792,  792,  792,  792,  793,  726,  793,  793,  725,  793,
  1103.       793,  793,  724,  723,  793,  793,  722,  721,  720,  793,
  1104.       794,  794,  794,  794,  719,  718,  794,  794,  794,  795,
  1105.       717,  795,  795,  795,  795,  795,  795,  795,  795,  795,
  1106.       795,  795,  795,  795,  795,  796,  796,  796,  796,  715,
  1107.       714,  796,  796,  796,  797,  713,  797,  797,  797,  797,
  1108.       797,  797,  797,  797,  797,  797,  797,  797,  797,  797,
  1109.       798,  712,  798,  798,  798,  798,  798,  798,  798,  798,
  1110.  
  1111.       798,  710,  798,  798,  798,  798,  799,  709,  707,  706,
  1112.       799,  799,  799,  799,  705,  704,  799,  799,  800,  703,
  1113.       800,  800,  800,  800,  800,  800,  800,  800,  800,  800,
  1114.       800,  800,  800,  800,  801,  801,  801,  801,  702,  701,
  1115.       801,  801,  801,  802,  802,  802,  802,  802,  802,  802,
  1116.       802,  802,  802,  802,  802,  802,  802,  802,  802,  803,
  1117.       803,  803,  803,  700,  803,  803,  803,  803,  803,  803,
  1118.       803,  803,  803,  803,  803,  804,  699,  698,  804,  804,
  1119.       804,  804,  804,  804,  804,  682,  804,  804,  804,  804,
  1120.       804,  805,  680,  805,  805,  805,  805,  805,  805,  805,
  1121.  
  1122.       805,  805,  805,  805,  805,  805,  805,  806,  679,  806,
  1123.       806,  678,  806,  806,  806,  677,  675,  806,  806,  674,
  1124.       672,  671,  806,  807,  807,  807,  807,  670,  669,  807,
  1125.       807,  807,  808,  668,  808,  808,  808,  808,  808,  808,
  1126.       808,  808,  808,  808,  808,  808,  808,  808,  809,  809,
  1127.       667,  809,  809,  666,  665,  664,  809,  809,  811,  663,
  1128.       811,  811,  811,  811,  811,  811,  811,  811,  811,  811,
  1129.       811,  811,  811,  811,  812,  662,  812,  812,  812,  812,
  1130.       812,  812,  812,  812,  812,  812,  812,  812,  812,  812,
  1131.       813,  661,  813,  813,  813,  813,  813,  813,  813,  813,
  1132.  
  1133.       813,  813,  813,  813,  813,  813,  814,  814,  660,  659,
  1134.       814,  814,  814,  815,  815,  658,  655,  815,  815,  815,
  1135.       816,  816,  816,  816,  816,  816,  816,  816,  816,  816,
  1136.       816,  816,  816,  816,  816,  816,  817,  817,  817,  817,
  1137.       817,  817,  817,  817,  817,  817,  817,  817,  817,  817,
  1138.       817,  817,  818,  653,  818,  818,  818,  818,  818,  818,
  1139.       818,  818,  818,  652,  818,  818,  818,  818,  819,  651,
  1140.       819,  819,  819,  819,  819,  819,  819,  819,  819,  819,
  1141.       819,  819,  819,  819,  820,  820,  650,  646,  644,  643,
  1142.       820,  821,  821,  821,  821,  642,  641,  821,  821,  821,
  1143.  
  1144.       821,  822,  639,  822,  822,  822,  822,  822,  822,  822,
  1145.       822,  822,  822,  822,  822,  822,  822,  823,  637,  823,
  1146.       823,  823,  823,  823,  823,  823,  823,  823,  823,  823,
  1147.       823,  823,  823,  824,  636,  824,  824,  824,  824,  824,
  1148.       824,  824,  824,  824,  824,  824,  824,  824,  824,  825,
  1149.       635,  825,  825,  825,  825,  825,  825,  825,  825,  825,
  1150.       825,  825,  825,  825,  825,  826,  633,  826,  826,  826,
  1151.       826,  826,  826,  826,  826,  826,  826,  826,  826,  826,
  1152.       826,  827,  632,  827,  827,  827,  827,  827,  827,  827,
  1153.       827,  827,  827,  827,  827,  827,  827,  828,  828,  828,
  1154.  
  1155.       828,  828,  828,  828,  828,  828,  828,  828,  828,  828,
  1156.       828,  828,  828,  829,  631,  829,  829,  630,  829,  829,
  1157.       829,  629,  628,  829,  829,  627,  626,  625,  829,  830,
  1158.       830,  830,  830,  624,  623,  830,  830,  830,  831,  621,
  1159.       831,  831,  831,  831,  831,  831,  831,  831,  831,  831,
  1160.       831,  831,  831,  831,  832,  832,  832,  832,  619,  612,
  1161.       832,  832,  832,  833,  833,  611,  610,  609,  833,  833,
  1162.       834,  608,  607,  606,  834,  834,  834,  834,  604,  601,
  1163.       834,  834,  835,  600,  835,  835,  835,  835,  835,  835,
  1164.       835,  835,  835,  835,  835,  835,  835,  835,  836,  836,
  1165.  
  1166.       836,  836,  599,  598,  836,  836,  836,  837,  837,  837,
  1167.       837,  837,  837,  837,  837,  837,  837,  837,  837,  837,
  1168.       837,  837,  837,  838,  838,  838,  838,  597,  838,  838,
  1169.       838,  838,  838,  838,  838,  838,  838,  838,  838,  839,
  1170.       596,  595,  839,  839,  839,  839,  839,  839,  839,  594,
  1171.       839,  839,  839,  839,  839,  840,  593,  840,  840,  592,
  1172.       840,  840,  840,  591,  590,  840,  840,  588,  569,  568,
  1173.       840,  841,  841,  841,  841,  564,  563,  841,  841,  841,
  1174.       842,  562,  842,  842,  842,  842,  842,  842,  842,  842,
  1175.       842,  842,  842,  842,  842,  842,  843,  843,  560,  843,
  1176.  
  1177.       843,  559,  558,  557,  843,  843,  844,  556,  844,  844,
  1178.       844,  844,  844,  844,  844,  844,  844,  844,  844,  844,
  1179.       844,  844,  845,  555,  845,  845,  845,  845,  845,  845,
  1180.       845,  845,  845,  845,  845,  845,  845,  845,  846,  554,
  1181.       846,  846,  846,  846,  846,  846,  846,  846,  846,  846,
  1182.       846,  846,  846,  846,  847,  847,  847,  847,  847,  847,
  1183.       847,  847,  847,  847,  847,  847,  847,  847,  847,  847,
  1184.       848,  848,  848,  848,  553,  552,  848,  848,  848,  849,
  1185.       849,  849,  849,  551,  549,  849,  849,  849,  850,  850,
  1186.       850,  850,  850,  850,  850,  850,  850,  850,  850,  850,
  1187.  
  1188.       850,  850,  850,  850,  851,  851,  851,  851,  851,  851,
  1189.       851,  851,  851,  851,  851,  851,  851,  851,  851,  851,
  1190.       852,  548,  852,  852,  852,  852,  852,  852,  852,  852,
  1191.       852,  546,  852,  852,  852,  852,  853,  853,  545,  544,
  1192.       543,  542,  853,  854,  854,  854,  854,  541,  540,  854,
  1193.       854,  854,  854,  855,  539,  855,  855,  855,  855,  855,
  1194.       855,  855,  855,  855,  855,  855,  855,  855,  855,  856,
  1195.       856,  856,  856,  856,  856,  856,  856,  856,  856,  856,
  1196.       856,  856,  856,  856,  856,  857,  857,  857,  857,  857,
  1197.       857,  857,  857,  857,  857,  857,  857,  857,  857,  857,
  1198.  
  1199.       857,  538,  536,  534,  533,  530,  528,  526,  525,  524,
  1200.       523,  509,  508,  507,  506,  500,  499,  498,  497,  496,
  1201.       492,  491,  490,  489,  488,  487,  486,  483,  482,  481,
  1202.       480,  479,  478,  476,  475,  474,  473,  472,  471,  469,
  1203.       468,  467,  464,  463,  461,  460,  459,  458,  457,  454,
  1204.       453,  452,  451,  439,  437,  436,  435,  434,  430,  426,
  1205.       423,  422,  421,  414,  413,  412,  411,  410,  408,  407,
  1206.       406,  404,  403,  402,  401,  400,  399,  398,  397,  396,
  1207.       395,  394,  393,  392,  391,  390,  388,  387,  386,  384,
  1208.       383,  382,  381,  380,  379,  378,  377,  376,  373,  372,
  1209.  
  1210.       361,  356,  355,  352,  350,  346,  337,  327,  326,  325,
  1211.       323,  318,  315,  313,  312,  311,  308,  307,  306,  305,
  1212.       303,  301,  300,  299,  297,  296,  295,  293,  292,  290,
  1213.       287,  286,  284,  282,  281,  280,  276,  263,  262,  243,
  1214.       240,  239,  234,  231,  226,  222,  221,  220,  219,  216,
  1215.       208,  207,  204,  203,  189,  187,  183,  179,  176,  175,
  1216.       174,  173,  172,  171,  169,  166,  165,  162,  161,  159,
  1217.       156,  155,  154,  153,  151,  149,  148,  146,  144,  143,
  1218.       137,  134,  125,  124,  122,  119,  114,  112,  107,  103,
  1219.        97,   92,   89,   87,   85,   84,   83,   80,   76,   74,
  1220.  
  1221.        73,   71,   67,   65,   59,   55,   50,   47,   43,   39,
  1222.        16,   15,   10,    8,    7,  768,  768,  768,  768,  768,
  1223.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  1224.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  1225.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  1226.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  1227.       768,  768,  768,  768,  768,  768,  768,  768,  768,  768,
  1228.       768,  768,  768,  768
  1229.     } ;
  1230.  
  1231. static yy_state_type yy_last_accepting_state;
  1232. static char *yy_last_accepting_cpos;
  1233.  
  1234. /* The intent behind this definition is that it'll catch
  1235.  * any uses of REJECT which flex missed.
  1236.  */
  1237. #define REJECT reject_used_but_not_detected
  1238. #define yymore() yymore_used_but_not_detected
  1239. #define YY_MORE_ADJ 0
  1240. char *yytext;
  1241. #line 1 "scan.l"
  1242. #define INITIAL 0
  1243. /* scan.l - scanner for flex input */
  1244. #line 4 "scan.l"
  1245. /*-
  1246.  * Copyright (c) 1990 The Regents of the University of California.
  1247.  * All rights reserved.
  1248.  *
  1249.  * This code is derived from software contributed to Berkeley by
  1250.  * Vern Paxson.
  1251.  * 
  1252.  * The United States Government has rights in this work pursuant
  1253.  * to contract no. DE-AC03-76SF00098 between the United States
  1254.  * Department of Energy and the University of California.
  1255.  *
  1256.  * Redistribution and use in source and binary forms are permitted provided
  1257.  * that: (1) source distributions retain this entire copyright notice and
  1258.  * comment, and (2) distributions including binaries display the following
  1259.  * acknowledgement:  ``This product includes software developed by the
  1260.  * University of California, Berkeley and its contributors'' in the
  1261.  * documentation or other materials provided with the distribution and in
  1262.  * all advertising materials mentioning features or use of this software.
  1263.  * Neither the name of the University nor the names of its contributors may
  1264.  * be used to endorse or promote products derived from this software without
  1265.  * specific prior written permission.
  1266.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
  1267.  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  1268.  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  1269.  */
  1270.  
  1271. /* $Header: /home/daffy/u0/vern/flex/RCS/scan.l,v 2.56 95/04/24 12:17:19 vern Exp $ */
  1272.  
  1273. #include "flexdef.h"
  1274. #include "parse.h"
  1275.  
  1276. #define ACTION_ECHO add_action( yytext )
  1277. #define ACTION_IFDEF(def, should_define) \
  1278.     { \
  1279.     if ( should_define ) \
  1280.         action_define( def, 1 ); \
  1281.     }
  1282.  
  1283. #define MARK_END_OF_PROLOG mark_prolog();
  1284.  
  1285. #define YY_DECL \
  1286.     int flexscan()
  1287.  
  1288. #define RETURNCHAR \
  1289.     yylval = (unsigned char) yytext[0]; \
  1290.     return CHAR;
  1291.  
  1292. #define RETURNNAME \
  1293.     strcpy( nmstr, yytext ); \
  1294.     return NAME;
  1295.  
  1296. #define PUT_BACK_STRING(str, start) \
  1297.     for ( i = strlen( str ) - 1; i >= start; --i ) \
  1298.         unput((str)[i])
  1299.  
  1300. #define CHECK_REJECT(str) \
  1301.     if ( all_upper( str ) ) \
  1302.         reject = true;
  1303.  
  1304. #define CHECK_YYMORE(str) \
  1305.     if ( all_lower( str ) ) \
  1306.         yymore_used = true;
  1307. #define YY_STACK_USED 1
  1308. #define YY_NO_TOP_STATE 1
  1309. #define SECT2 1
  1310. #define SECT2PROLOG 2
  1311. #define SECT3 3
  1312. #define CODEBLOCK 4
  1313. #define PICKUPDEF 5
  1314. #define SC 6
  1315. #define CARETISBOL 7
  1316. #define NUM 8
  1317. #define QUOTE 9
  1318.  
  1319. #define FIRSTCCL 10
  1320. #define CCL 11
  1321. #define ACTION 12
  1322. #define RECOVER 13
  1323. #define COMMENT 14
  1324. #define ACTION_STRING 15
  1325. #define PERCENT_BRACE_ACTION 16
  1326.  
  1327. #define OPTION 17
  1328. #define LINEDIR 18
  1329.  
  1330. #line 1331 "scan.c"
  1331.  
  1332. /* Macros after this point can all be overridden by user definitions in
  1333.  * section 1.
  1334.  */
  1335.  
  1336. #ifndef YY_SKIP_YYWRAP
  1337. #ifdef __cplusplus
  1338. extern "C" int yywrap YY_PROTO(( void ));
  1339. #else
  1340. extern int yywrap YY_PROTO(( void ));
  1341. #endif
  1342. #endif
  1343.  
  1344. #ifndef YY_NO_UNPUT
  1345. static void yyunput YY_PROTO(( int c, char *buf_ptr ));
  1346. #endif
  1347.  
  1348. #ifndef yytext_ptr
  1349. static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
  1350. #endif
  1351.  
  1352. #ifndef YY_NO_INPUT
  1353. #ifdef __cplusplus
  1354. static int yyinput YY_PROTO(( void ));
  1355. #else
  1356. static int input YY_PROTO(( void ));
  1357. #endif
  1358. #endif
  1359.  
  1360. #if YY_STACK_USED
  1361. static int yy_start_stack_ptr = 0;
  1362. static int yy_start_stack_depth = 0;
  1363. static int *yy_start_stack = 0;
  1364. #ifndef YY_NO_PUSH_STATE
  1365. static void yy_push_state YY_PROTO(( int new_state ));
  1366. #endif
  1367. #ifndef YY_NO_POP_STATE
  1368. static void yy_pop_state YY_PROTO(( void ));
  1369. #endif
  1370. #ifndef YY_NO_TOP_STATE
  1371. static int yy_top_state YY_PROTO(( void ));
  1372. #endif
  1373.  
  1374. #else
  1375. #define YY_NO_PUSH_STATE 1
  1376. #define YY_NO_POP_STATE 1
  1377. #define YY_NO_TOP_STATE 1
  1378. #endif
  1379.  
  1380. #ifdef YY_MALLOC_DECL
  1381. YY_MALLOC_DECL
  1382. #else
  1383. #if __STDC__
  1384. #ifndef __cplusplus
  1385. #include <stdlib.h>
  1386. #endif
  1387. #else
  1388. /* Just try to get by without declaring the routines.  This will fail
  1389.  * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
  1390.  * or sizeof(void*) != sizeof(int).
  1391.  */
  1392. #endif
  1393. #endif
  1394.  
  1395. /* Amount of stuff to slurp up with each read. */
  1396. #ifndef YY_READ_BUF_SIZE
  1397. #define YY_READ_BUF_SIZE 8192
  1398. #endif
  1399.  
  1400. /* Copy whatever the last rule matched to the standard output. */
  1401.  
  1402. #ifndef ECHO
  1403. /* This used to be an fputs(), but since the string might contain NUL's,
  1404.  * we now use fwrite().
  1405.  */
  1406. #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
  1407. #endif
  1408.  
  1409. /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
  1410.  * is returned in "result".
  1411.  */
  1412. #ifndef YY_INPUT
  1413. #define YY_INPUT(buf,result,max_size) \
  1414.     if ( yy_current_buffer->yy_is_interactive ) \
  1415.         { \
  1416.         int c = '*', n; \
  1417.         for ( n = 0; n < max_size && \
  1418.                  (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  1419.             buf[n] = (char) c; \
  1420.         if ( c == '\n' ) \
  1421.             buf[n++] = (char) c; \
  1422.         if ( c == EOF && ferror( yyin ) ) \
  1423.             YY_FATAL_ERROR( "input in flex scanner failed" ); \
  1424.         result = n; \
  1425.         } \
  1426.     else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
  1427.           && ferror( yyin ) ) \
  1428.         YY_FATAL_ERROR( "input in flex scanner failed" );
  1429. #endif
  1430.  
  1431. /* No semi-colon after return; correct usage is to write "yyterminate();" -
  1432.  * we don't want an extra ';' after the "return" because that will cause
  1433.  * some compilers to complain about unreachable statements.
  1434.  */
  1435. #ifndef yyterminate
  1436. #define yyterminate() return YY_NULL
  1437. #endif
  1438.  
  1439. /* Number of entries by which start-condition stack grows. */
  1440. #ifndef YY_START_STACK_INCR
  1441. #define YY_START_STACK_INCR 25
  1442. #endif
  1443.  
  1444. /* Report a fatal error. */
  1445. #ifndef YY_FATAL_ERROR
  1446. #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  1447. #endif
  1448.  
  1449. /* Default declaration of generated scanner - a define so the user can
  1450.  * easily add parameters.
  1451.  */
  1452. #ifndef YY_DECL
  1453. #define YY_DECL int yylex YY_PROTO(( void ))
  1454. #endif
  1455.  
  1456. /* Code executed at the beginning of each rule, after yytext and yyleng
  1457.  * have been set up.
  1458.  */
  1459. #ifndef YY_USER_ACTION
  1460. #define YY_USER_ACTION
  1461. #endif
  1462.  
  1463. /* Code executed at the end of each rule. */
  1464. #ifndef YY_BREAK
  1465. #define YY_BREAK break;
  1466. #endif
  1467.  
  1468. #define YY_RULE_SETUP \
  1469.     if ( yyleng > 0 ) \
  1470.         yy_current_buffer->yy_at_bol = \
  1471.                 (yytext[yyleng - 1] == '\n'); \
  1472.     YY_USER_ACTION
  1473.  
  1474. YY_DECL
  1475.     {
  1476.     register yy_state_type yy_current_state;
  1477.     register char *yy_cp, *yy_bp;
  1478.     register int yy_act;
  1479.  
  1480. #line 94 "scan.l"
  1481.  
  1482.     static int bracelevel, didadef, indented_code;
  1483.     static int doing_rule_action = false;
  1484.     static int option_sense;
  1485.  
  1486.     int doing_codeblock = false;
  1487.     int i;
  1488.     Char nmdef[MAXLINE], myesc();
  1489.  
  1490.  
  1491. #line 1492 "scan.c"
  1492.  
  1493.     if ( yy_init )
  1494.         {
  1495.         yy_init = 0;
  1496.  
  1497. #ifdef YY_USER_INIT
  1498.         YY_USER_INIT;
  1499. #endif
  1500.  
  1501.         if ( ! yy_start )
  1502.             yy_start = 1;    /* first start state */
  1503.  
  1504.         if ( ! yyin )
  1505.             yyin = stdin;
  1506.  
  1507.         if ( ! yyout )
  1508.             yyout = stdout;
  1509.  
  1510.         if ( ! yy_current_buffer )
  1511.             yy_current_buffer =
  1512.                 yy_create_buffer( yyin, YY_BUF_SIZE );
  1513.  
  1514.         yy_load_buffer_state();
  1515.         }
  1516.  
  1517.     while ( 1 )        /* loops until end-of-file is reached */
  1518.         {
  1519.         yy_cp = yy_c_buf_p;
  1520.  
  1521.         /* Support of yytext. */
  1522.         *yy_cp = yy_hold_char;
  1523.  
  1524.         /* yy_bp points to the position in yy_ch_buf of the start of
  1525.          * the current run.
  1526.          */
  1527.         yy_bp = yy_cp;
  1528.  
  1529.         yy_current_state = yy_start;
  1530.         yy_current_state += YY_AT_BOL();
  1531. yy_match:
  1532.         do
  1533.             {
  1534.             register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  1535.             if ( yy_accept[yy_current_state] )
  1536.                 {
  1537.                 yy_last_accepting_state = yy_current_state;
  1538.                 yy_last_accepting_cpos = yy_cp;
  1539.                 }
  1540.             while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1541.                 {
  1542.                 yy_current_state = (int) yy_def[yy_current_state];
  1543.                 if ( yy_current_state >= 769 )
  1544.                     yy_c = yy_meta[(unsigned int) yy_c];
  1545.                 }
  1546.             yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1547.             ++yy_cp;
  1548.             }
  1549.         while ( yy_base[yy_current_state] != 2716 );
  1550.  
  1551. yy_find_action:
  1552.         yy_act = yy_accept[yy_current_state];
  1553.         if ( yy_act == 0 )
  1554.             { /* have to back up */
  1555.             yy_cp = yy_last_accepting_cpos;
  1556.             yy_current_state = yy_last_accepting_state;
  1557.             yy_act = yy_accept[yy_current_state];
  1558.             }
  1559.  
  1560.         YY_DO_BEFORE_ACTION;
  1561.  
  1562.  
  1563. do_action:    /* This label is used only to access EOF actions. */
  1564.  
  1565.  
  1566.         switch ( yy_act )
  1567.     { /* beginning of action switch */
  1568.             case 0: /* must back up */
  1569.             /* undo the effects of YY_DO_BEFORE_ACTION */
  1570.             *yy_cp = yy_hold_char;
  1571.             yy_cp = yy_last_accepting_cpos;
  1572.             yy_current_state = yy_last_accepting_state;
  1573.             goto yy_find_action;
  1574.  
  1575.  
  1576. case 1:
  1577. YY_RULE_SETUP
  1578. #line 105 "scan.l"
  1579. indented_code = true; BEGIN(CODEBLOCK);
  1580.     YY_BREAK
  1581. case 2:
  1582. YY_RULE_SETUP
  1583. #line 106 "scan.l"
  1584. ACTION_ECHO; yy_push_state( COMMENT );
  1585.     YY_BREAK
  1586. case 3:
  1587. YY_RULE_SETUP
  1588. #line 107 "scan.l"
  1589. yy_push_state( LINEDIR );
  1590.     YY_BREAK
  1591. case 4:
  1592. YY_RULE_SETUP
  1593. #line 108 "scan.l"
  1594. return SCDECL;
  1595.     YY_BREAK
  1596. case 5:
  1597. YY_RULE_SETUP
  1598. #line 109 "scan.l"
  1599. return XSCDECL;
  1600.     YY_BREAK
  1601. case 6:
  1602. YY_RULE_SETUP
  1603. #line 110 "scan.l"
  1604. {
  1605.             ++linenum;
  1606.             line_directive_out( (FILE *) 0, 1 );
  1607.             indented_code = false;
  1608.             BEGIN(CODEBLOCK);
  1609.             }
  1610.     YY_BREAK
  1611. case 7:
  1612. YY_RULE_SETUP
  1613. #line 117 "scan.l"
  1614. /* discard */
  1615.     YY_BREAK
  1616. case 8:
  1617. YY_RULE_SETUP
  1618. #line 119 "scan.l"
  1619. {
  1620.             sectnum = 2;
  1621.             bracelevel = 0;
  1622.             mark_defs1();
  1623.             line_directive_out( (FILE *) 0, 1 );
  1624.             BEGIN(SECT2PROLOG);
  1625.             return SECTEND;
  1626.             }
  1627.     YY_BREAK
  1628. case 9:
  1629. YY_RULE_SETUP
  1630. #line 128 "scan.l"
  1631. yytext_is_array = false; ++linenum;
  1632.     YY_BREAK
  1633. case 10:
  1634. YY_RULE_SETUP
  1635. #line 129 "scan.l"
  1636. yytext_is_array = true; ++linenum;
  1637.     YY_BREAK
  1638. case 11:
  1639. YY_RULE_SETUP
  1640. #line 131 "scan.l"
  1641. BEGIN(OPTION); return OPTION_OP;
  1642.     YY_BREAK
  1643. case 12:
  1644. YY_RULE_SETUP
  1645. #line 133 "scan.l"
  1646. ++linenum; /* ignore */
  1647.     YY_BREAK
  1648. case 13:
  1649. YY_RULE_SETUP
  1650. #line 134 "scan.l"
  1651. ++linenum;    /* ignore */
  1652.     YY_BREAK
  1653. case 14:
  1654. YY_RULE_SETUP
  1655. #line 136 "scan.l"
  1656. synerr( _( "unrecognized '%' directive" ) );
  1657.     YY_BREAK
  1658. case 15:
  1659. YY_RULE_SETUP
  1660. #line 138 "scan.l"
  1661. {
  1662.             strcpy( nmstr, yytext );
  1663.             didadef = false;
  1664.             BEGIN(PICKUPDEF);
  1665.             }
  1666.     YY_BREAK
  1667. case 16:
  1668. YY_RULE_SETUP
  1669. #line 144 "scan.l"
  1670. RETURNNAME;
  1671.     YY_BREAK
  1672. case 17:
  1673. YY_RULE_SETUP
  1674. #line 145 "scan.l"
  1675. ++linenum; /* allows blank lines in section 1 */
  1676.     YY_BREAK
  1677. case 18:
  1678. YY_RULE_SETUP
  1679. #line 146 "scan.l"
  1680. ACTION_ECHO; ++linenum; /* maybe end of comment line */
  1681.     YY_BREAK
  1682.  
  1683.  
  1684. case 19:
  1685. YY_RULE_SETUP
  1686. #line 151 "scan.l"
  1687. ACTION_ECHO; yy_pop_state();
  1688.     YY_BREAK
  1689. case 20:
  1690. YY_RULE_SETUP
  1691. #line 152 "scan.l"
  1692. ACTION_ECHO;
  1693.     YY_BREAK
  1694. case 21:
  1695. YY_RULE_SETUP
  1696. #line 153 "scan.l"
  1697. ACTION_ECHO;
  1698.     YY_BREAK
  1699. case 22:
  1700. YY_RULE_SETUP
  1701. #line 154 "scan.l"
  1702. ++linenum; ACTION_ECHO;
  1703.     YY_BREAK
  1704.  
  1705.  
  1706. case 23:
  1707. YY_RULE_SETUP
  1708. #line 158 "scan.l"
  1709. yy_pop_state();
  1710.     YY_BREAK
  1711. case 24:
  1712. YY_RULE_SETUP
  1713. #line 159 "scan.l"
  1714. linenum = myctoi( yytext );
  1715.     YY_BREAK
  1716. case 25:
  1717. YY_RULE_SETUP
  1718. #line 161 "scan.l"
  1719. {
  1720.             flex_free( (void *) infilename );
  1721.             infilename = copy_string( yytext + 1 );
  1722.             infilename[strlen( infilename ) - 1] = '\0';
  1723.             }
  1724.     YY_BREAK
  1725. case 26:
  1726. YY_RULE_SETUP
  1727. #line 166 "scan.l"
  1728. /* ignore spurious characters */
  1729.     YY_BREAK
  1730.  
  1731.  
  1732. case 27:
  1733. YY_RULE_SETUP
  1734. #line 170 "scan.l"
  1735. ++linenum; BEGIN(INITIAL);
  1736.     YY_BREAK
  1737. case 28:
  1738. YY_RULE_SETUP
  1739. #line 172 "scan.l"
  1740. ACTION_ECHO;
  1741.     YY_BREAK
  1742. case 29:
  1743. YY_RULE_SETUP
  1744. #line 174 "scan.l"
  1745. {
  1746.             ++linenum;
  1747.             ACTION_ECHO;
  1748.             if ( indented_code )
  1749.                 BEGIN(INITIAL);
  1750.             }
  1751.     YY_BREAK
  1752.  
  1753.  
  1754. case 30:
  1755. YY_RULE_SETUP
  1756. #line 184 "scan.l"
  1757. /* separates name and definition */
  1758.     YY_BREAK
  1759. case 31:
  1760. YY_RULE_SETUP
  1761. #line 186 "scan.l"
  1762. {
  1763.             strcpy( (char *) nmdef, yytext );
  1764.  
  1765.             /* Skip trailing whitespace. */
  1766.             for ( i = strlen( (char *) nmdef ) - 1;
  1767.                   i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t');
  1768.                   --i )
  1769.                 ;
  1770.  
  1771.             nmdef[i + 1] = '\0';
  1772.  
  1773.             ndinstal( nmstr, nmdef );
  1774.             didadef = true;
  1775.             }
  1776.     YY_BREAK
  1777. case 32:
  1778. YY_RULE_SETUP
  1779. #line 201 "scan.l"
  1780. {
  1781.             if ( ! didadef )
  1782.                 synerr( _( "incomplete name definition" ) );
  1783.             BEGIN(INITIAL);
  1784.             ++linenum;
  1785.             }
  1786.     YY_BREAK
  1787.  
  1788.  
  1789. case 33:
  1790. YY_RULE_SETUP
  1791. #line 211 "scan.l"
  1792. ++linenum; BEGIN(INITIAL);
  1793.     YY_BREAK
  1794. case 34:
  1795. YY_RULE_SETUP
  1796. #line 212 "scan.l"
  1797. option_sense = true;
  1798.     YY_BREAK
  1799. case 35:
  1800. YY_RULE_SETUP
  1801. #line 214 "scan.l"
  1802. return '=';
  1803.     YY_BREAK
  1804. case 36:
  1805. YY_RULE_SETUP
  1806. #line 216 "scan.l"
  1807. option_sense = ! option_sense;
  1808.     YY_BREAK
  1809. case 37:
  1810. YY_RULE_SETUP
  1811. #line 218 "scan.l"
  1812. csize = option_sense ? 128 : 256;
  1813.     YY_BREAK
  1814. case 38:
  1815. YY_RULE_SETUP
  1816. #line 219 "scan.l"
  1817. csize = option_sense ? 256 : 128;
  1818.     YY_BREAK
  1819. case 39:
  1820. YY_RULE_SETUP
  1821. #line 221 "scan.l"
  1822. long_align = option_sense;
  1823.     YY_BREAK
  1824. case 40:
  1825. YY_RULE_SETUP
  1826. #line 222 "scan.l"
  1827. {
  1828.             action_define( "YY_ALWAYS_INTERACTIVE", option_sense );
  1829.             }
  1830.     YY_BREAK
  1831. case 41:
  1832. YY_RULE_SETUP
  1833. #line 225 "scan.l"
  1834. yytext_is_array = option_sense;
  1835.     YY_BREAK
  1836. case 42:
  1837. YY_RULE_SETUP
  1838. #line 226 "scan.l"
  1839. backing_up_report = option_sense;
  1840.     YY_BREAK
  1841. case 43:
  1842. YY_RULE_SETUP
  1843. #line 227 "scan.l"
  1844. interactive = ! option_sense;
  1845.     YY_BREAK
  1846. case 44:
  1847. YY_RULE_SETUP
  1848. #line 228 "scan.l"
  1849. C_plus_plus = option_sense;
  1850.     YY_BREAK
  1851. case 45:
  1852. YY_RULE_SETUP
  1853. #line 229 "scan.l"
  1854. caseins = ! option_sense;
  1855.     YY_BREAK
  1856. case 46:
  1857. YY_RULE_SETUP
  1858. #line 230 "scan.l"
  1859. caseins = option_sense;
  1860.     YY_BREAK
  1861. case 47:
  1862. YY_RULE_SETUP
  1863. #line 231 "scan.l"
  1864. ddebug = option_sense;
  1865.     YY_BREAK
  1866. case 48:
  1867. YY_RULE_SETUP
  1868. #line 232 "scan.l"
  1869. spprdflt = ! option_sense;
  1870.     YY_BREAK
  1871. case 49:
  1872. YY_RULE_SETUP
  1873. #line 233 "scan.l"
  1874. useecs = option_sense;
  1875.     YY_BREAK
  1876. case 50:
  1877. YY_RULE_SETUP
  1878. #line 234 "scan.l"
  1879. {
  1880.             useecs = usemecs = false;
  1881.             use_read = fullspd = true;
  1882.             }
  1883.     YY_BREAK
  1884. case 51:
  1885. YY_RULE_SETUP
  1886. #line 238 "scan.l"
  1887. {
  1888.             useecs = usemecs = false;
  1889.             use_read = fulltbl = true;
  1890.             }
  1891.     YY_BREAK
  1892. case 52:
  1893. YY_RULE_SETUP
  1894. #line 242 "scan.l"
  1895. ACTION_IFDEF("YY_NO_INPUT", ! option_sense);
  1896.     YY_BREAK
  1897. case 53:
  1898. YY_RULE_SETUP
  1899. #line 243 "scan.l"
  1900. interactive = option_sense;
  1901.     YY_BREAK
  1902. case 54:
  1903. YY_RULE_SETUP
  1904. #line 244 "scan.l"
  1905. lex_compat = option_sense;
  1906.     YY_BREAK
  1907. case 55:
  1908. YY_RULE_SETUP
  1909. #line 245 "scan.l"
  1910. {
  1911.             action_define( "YY_MAIN", option_sense );
  1912.             do_yywrap = ! option_sense;
  1913.             }
  1914.     YY_BREAK
  1915. case 56:
  1916. YY_RULE_SETUP
  1917. #line 249 "scan.l"
  1918. usemecs = option_sense;
  1919.     YY_BREAK
  1920. case 57:
  1921. YY_RULE_SETUP
  1922. #line 250 "scan.l"
  1923. {
  1924.             action_define( "YY_NEVER_INTERACTIVE", option_sense );
  1925.             }
  1926.     YY_BREAK
  1927. case 58:
  1928. YY_RULE_SETUP
  1929. #line 253 "scan.l"
  1930. performance_report += option_sense ? 1 : -1;
  1931.     YY_BREAK
  1932. case 59:
  1933. YY_RULE_SETUP
  1934. #line 254 "scan.l"
  1935. yytext_is_array = ! option_sense;
  1936.     YY_BREAK
  1937. case 60:
  1938. YY_RULE_SETUP
  1939. #line 255 "scan.l"
  1940. use_read = option_sense;
  1941.     YY_BREAK
  1942. case 61:
  1943. YY_RULE_SETUP
  1944. #line 256 "scan.l"
  1945. reject_really_used = option_sense;
  1946.     YY_BREAK
  1947. case 62:
  1948. YY_RULE_SETUP
  1949. #line 257 "scan.l"
  1950. action_define( "YY_STACK_USED", option_sense );
  1951.     YY_BREAK
  1952. case 63:
  1953. YY_RULE_SETUP
  1954. #line 258 "scan.l"
  1955. do_stdinit = option_sense;
  1956.     YY_BREAK
  1957. case 64:
  1958. YY_RULE_SETUP
  1959. #line 259 "scan.l"
  1960. use_stdout = option_sense;
  1961.     YY_BREAK
  1962. case 65:
  1963. YY_RULE_SETUP
  1964. #line 260 "scan.l"
  1965. ACTION_IFDEF("YY_NO_UNPUT", ! option_sense);
  1966.     YY_BREAK
  1967. case 66:
  1968. YY_RULE_SETUP
  1969. #line 261 "scan.l"
  1970. printstats = option_sense;
  1971.     YY_BREAK
  1972. case 67:
  1973. YY_RULE_SETUP
  1974. #line 262 "scan.l"
  1975. nowarn = ! option_sense;
  1976.     YY_BREAK
  1977. case 68:
  1978. YY_RULE_SETUP
  1979. #line 263 "scan.l"
  1980. do_yylineno = option_sense;
  1981.     YY_BREAK
  1982. case 69:
  1983. YY_RULE_SETUP
  1984. #line 264 "scan.l"
  1985. yymore_really_used = option_sense;
  1986.     YY_BREAK
  1987. case 70:
  1988. YY_RULE_SETUP
  1989. #line 265 "scan.l"
  1990. do_yywrap = option_sense;
  1991.     YY_BREAK
  1992. case 71:
  1993. YY_RULE_SETUP
  1994. #line 267 "scan.l"
  1995. ACTION_IFDEF("YY_NO_PUSH_STATE", ! option_sense);
  1996.     YY_BREAK
  1997. case 72:
  1998. YY_RULE_SETUP
  1999. #line 268 "scan.l"
  2000. ACTION_IFDEF("YY_NO_POP_STATE", ! option_sense);
  2001.     YY_BREAK
  2002. case 73:
  2003. YY_RULE_SETUP
  2004. #line 269 "scan.l"
  2005. ACTION_IFDEF("YY_NO_TOP_STATE", ! option_sense);
  2006.     YY_BREAK
  2007. case 74:
  2008. YY_RULE_SETUP
  2009. #line 271 "scan.l"
  2010. ACTION_IFDEF("YY_NO_SCAN_BUFFER", ! option_sense);
  2011.     YY_BREAK
  2012. case 75:
  2013. YY_RULE_SETUP
  2014. #line 272 "scan.l"
  2015. ACTION_IFDEF("YY_NO_SCAN_BYTES", ! option_sense);
  2016.     YY_BREAK
  2017. case 76:
  2018. YY_RULE_SETUP
  2019. #line 273 "scan.l"
  2020. ACTION_IFDEF("YY_NO_SCAN_STRING", ! option_sense);
  2021.     YY_BREAK
  2022. case 77:
  2023. YY_RULE_SETUP
  2024. #line 275 "scan.l"
  2025. return OPT_OUTFILE;
  2026.     YY_BREAK
  2027. case 78:
  2028. YY_RULE_SETUP
  2029. #line 276 "scan.l"
  2030. return OPT_PREFIX;
  2031.     YY_BREAK
  2032. case 79:
  2033. YY_RULE_SETUP
  2034. #line 277 "scan.l"
  2035. return OPT_YYCLASS;
  2036.     YY_BREAK
  2037. case 80:
  2038. YY_RULE_SETUP
  2039. #line 279 "scan.l"
  2040. {
  2041.             strcpy( nmstr, yytext + 1 );
  2042.             nmstr[strlen( nmstr ) - 1] = '\0';
  2043.             return NAME;
  2044.             }
  2045.     YY_BREAK
  2046. case 81:
  2047. YY_RULE_SETUP
  2048. #line 285 "scan.l"
  2049. {
  2050.             format_synerr( _( "unrecognized %%option: %s" ),
  2051.                 yytext );
  2052.             BEGIN(RECOVER);
  2053.             }
  2054.     YY_BREAK
  2055.  
  2056. case 82:
  2057. YY_RULE_SETUP
  2058. #line 292 "scan.l"
  2059. ++linenum; BEGIN(INITIAL);
  2060.     YY_BREAK
  2061.  
  2062. case 83:
  2063. YY_RULE_SETUP
  2064. #line 296 "scan.l"
  2065. ++bracelevel; yyless( 2 );    /* eat only %{ */
  2066.     YY_BREAK
  2067. case 84:
  2068. YY_RULE_SETUP
  2069. #line 297 "scan.l"
  2070. --bracelevel; yyless( 2 );    /* eat only %} */
  2071.     YY_BREAK
  2072. case 85:
  2073. YY_RULE_SETUP
  2074. #line 299 "scan.l"
  2075. ACTION_ECHO;    /* indented code in prolog */
  2076.     YY_BREAK
  2077. case 86:
  2078. YY_RULE_SETUP
  2079. #line 301 "scan.l"
  2080. {    /* non-indented code */
  2081.             if ( bracelevel <= 0 )
  2082.                 { /* not in %{ ... %} */
  2083.                 yyless( 0 );    /* put it all back */
  2084.                 yy_set_bol( 1 );
  2085.                 mark_prolog();
  2086.                 BEGIN(SECT2);
  2087.                 }
  2088.             else
  2089.                 ACTION_ECHO;
  2090.             }
  2091.     YY_BREAK
  2092. case 87:
  2093. YY_RULE_SETUP
  2094. #line 313 "scan.l"
  2095. ACTION_ECHO;
  2096.     YY_BREAK
  2097. case 88:
  2098. YY_RULE_SETUP
  2099. #line 314 "scan.l"
  2100. ++linenum; ACTION_ECHO;
  2101.     YY_BREAK
  2102. case YY_STATE_EOF(SECT2PROLOG):
  2103. #line 316 "scan.l"
  2104. {
  2105.             mark_prolog();
  2106.             sectnum = 0;
  2107.             yyterminate(); /* to stop the parser */
  2108.             }
  2109.     YY_BREAK
  2110.  
  2111.  
  2112. case 89:
  2113. YY_RULE_SETUP
  2114. #line 324 "scan.l"
  2115. ++linenum; /* allow blank lines in section 2 */
  2116.     YY_BREAK
  2117. case 90:
  2118. YY_RULE_SETUP
  2119. #line 326 "scan.l"
  2120. {
  2121.             indented_code = false;
  2122.             doing_codeblock = true;
  2123.             bracelevel = 1;
  2124.             BEGIN(PERCENT_BRACE_ACTION);
  2125.             }
  2126.     YY_BREAK
  2127. case 91:
  2128. YY_RULE_SETUP
  2129. #line 333 "scan.l"
  2130. BEGIN(SC); return '<';
  2131.     YY_BREAK
  2132. case 92:
  2133. YY_RULE_SETUP
  2134. #line 334 "scan.l"
  2135. return '^';
  2136.     YY_BREAK
  2137. case 93:
  2138. YY_RULE_SETUP
  2139. #line 335 "scan.l"
  2140. BEGIN(QUOTE); return '"';
  2141.     YY_BREAK
  2142. case 94:
  2143. *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  2144. yy_c_buf_p = yy_cp = yy_bp + 1;
  2145. YY_DO_BEFORE_ACTION; /* set up yytext again */
  2146. YY_RULE_SETUP
  2147. #line 336 "scan.l"
  2148. BEGIN(NUM); return '{';
  2149.     YY_BREAK
  2150. case 95:
  2151. *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  2152. yy_c_buf_p = yy_cp = yy_bp + 1;
  2153. YY_DO_BEFORE_ACTION; /* set up yytext again */
  2154. YY_RULE_SETUP
  2155. #line 337 "scan.l"
  2156. return '$';
  2157.     YY_BREAK
  2158. case 96:
  2159. YY_RULE_SETUP
  2160. #line 339 "scan.l"
  2161. {
  2162.             bracelevel = 1;
  2163.             BEGIN(PERCENT_BRACE_ACTION);
  2164.  
  2165.             if ( in_rule )
  2166.                 {
  2167.                 doing_rule_action = true;
  2168.                 in_rule = false;
  2169.                 return '\n';
  2170.                 }
  2171.             }
  2172.     YY_BREAK
  2173. case 97:
  2174. YY_RULE_SETUP
  2175. #line 350 "scan.l"
  2176. continued_action = true; ++linenum; return '\n';
  2177.     YY_BREAK
  2178. case 98:
  2179. YY_RULE_SETUP
  2180. #line 352 "scan.l"
  2181. {
  2182.             yyless( yyleng - 2 );    /* put back '/', '*' */
  2183.             bracelevel = 0;
  2184.             continued_action = false;
  2185.             BEGIN(ACTION);
  2186.             }
  2187.     YY_BREAK
  2188. case 99:
  2189. YY_RULE_SETUP
  2190. #line 359 "scan.l"
  2191. /* allow indented rules */
  2192.     YY_BREAK
  2193. case 100:
  2194. YY_RULE_SETUP
  2195. #line 361 "scan.l"
  2196. {
  2197.             /* This rule is separate from the one below because
  2198.              * otherwise we get variable trailing context, so
  2199.              * we can't build the scanner using -{f,F}.
  2200.              */
  2201.             bracelevel = 0;
  2202.             continued_action = false;
  2203.             BEGIN(ACTION);
  2204.  
  2205.             if ( in_rule )
  2206.                 {
  2207.                 doing_rule_action = true;
  2208.                 in_rule = false;
  2209.                 return '\n';
  2210.                 }
  2211.             }
  2212.     YY_BREAK
  2213. case 101:
  2214. YY_RULE_SETUP
  2215. #line 378 "scan.l"
  2216. {
  2217.             bracelevel = 0;
  2218.             continued_action = false;
  2219.             BEGIN(ACTION);
  2220.             unput( '\n' );    /* so <ACTION> sees it */
  2221.  
  2222.             if ( in_rule )
  2223.                 {
  2224.                 doing_rule_action = true;
  2225.                 in_rule = false;
  2226.                 return '\n';
  2227.                 }
  2228.             }
  2229.     YY_BREAK
  2230. case 102:
  2231. #line 393 "scan.l"
  2232. case 103:
  2233. YY_RULE_SETUP
  2234. #line 393 "scan.l"
  2235. return EOF_OP;
  2236.     YY_BREAK
  2237. case 104:
  2238. YY_RULE_SETUP
  2239. #line 395 "scan.l"
  2240. {
  2241.             sectnum = 3;
  2242.             BEGIN(SECT3);
  2243.             yyterminate(); /* to stop the parser */
  2244.             }
  2245.     YY_BREAK
  2246. case 105:
  2247. YY_RULE_SETUP
  2248. #line 401 "scan.l"
  2249. {
  2250.             int cclval;
  2251.  
  2252.             strcpy( nmstr, yytext );
  2253.  
  2254.             /* Check to see if we've already encountered this
  2255.              * ccl.
  2256.              */
  2257.             if ( (cclval = ccllookup( (Char *) nmstr )) != 0 )
  2258.                 {
  2259.                 if ( input() != ']' )
  2260.                     synerr( _( "bad character class" ) );
  2261.  
  2262.                 yylval = cclval;
  2263.                 ++cclreuse;
  2264.                 return PREVCCL;
  2265.                 }
  2266.             else
  2267.                 {
  2268.                 /* We fudge a bit.  We know that this ccl will
  2269.                  * soon be numbered as lastccl + 1 by cclinit.
  2270.                  */
  2271.                 cclinstal( (Char *) nmstr, lastccl + 1 );
  2272.  
  2273.                 /* Push back everything but the leading bracket
  2274.                  * so the ccl can be rescanned.
  2275.                  */
  2276.                 yyless( 1 );
  2277.  
  2278.                 BEGIN(FIRSTCCL);
  2279.                 return '[';
  2280.                 }
  2281.             }
  2282.     YY_BREAK
  2283. case 106:
  2284. YY_RULE_SETUP
  2285. #line 435 "scan.l"
  2286. {
  2287.             register Char *nmdefptr;
  2288.             Char *ndlookup();
  2289.  
  2290.             strcpy( nmstr, yytext + 1 );
  2291.             nmstr[yyleng - 2] = '\0';  /* chop trailing brace */
  2292.  
  2293.             if ( (nmdefptr = ndlookup( nmstr )) == 0 )
  2294.                 format_synerr(
  2295.                     _( "undefined definition {%s}" ),
  2296.                         nmstr );
  2297.  
  2298.             else
  2299.                 { /* push back name surrounded by ()'s */
  2300.                 int len = strlen( (char *) nmdefptr );
  2301.  
  2302.                 if ( lex_compat || nmdefptr[0] == '^' ||
  2303.                      (len > 0 && nmdefptr[len - 1] == '$') )
  2304.                     { /* don't use ()'s after all */
  2305.                     PUT_BACK_STRING((char *) nmdefptr, 0);
  2306.  
  2307.                     if ( nmdefptr[0] == '^' )
  2308.                         BEGIN(CARETISBOL);
  2309.                     }
  2310.  
  2311.                 else
  2312.                     {
  2313.                     unput(')');
  2314.                     PUT_BACK_STRING((char *) nmdefptr, 0);
  2315.                     unput('(');
  2316.                     }
  2317.                 }
  2318.             }
  2319.     YY_BREAK
  2320. case 107:
  2321. YY_RULE_SETUP
  2322. #line 469 "scan.l"
  2323. return (unsigned char) yytext[0];
  2324.     YY_BREAK
  2325. case 108:
  2326. YY_RULE_SETUP
  2327. #line 470 "scan.l"
  2328. RETURNCHAR;
  2329.     YY_BREAK
  2330.  
  2331.  
  2332. case 109:
  2333. YY_RULE_SETUP
  2334. #line 475 "scan.l"
  2335. return (unsigned char) yytext[0];
  2336.     YY_BREAK
  2337. case 110:
  2338. YY_RULE_SETUP
  2339. #line 476 "scan.l"
  2340. BEGIN(SECT2); return '>';
  2341.     YY_BREAK
  2342. case 111:
  2343. *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  2344. yy_c_buf_p = yy_cp = yy_bp + 1;
  2345. YY_DO_BEFORE_ACTION; /* set up yytext again */
  2346. YY_RULE_SETUP
  2347. #line 477 "scan.l"
  2348. BEGIN(CARETISBOL); return '>';
  2349.     YY_BREAK
  2350. case 112:
  2351. YY_RULE_SETUP
  2352. #line 478 "scan.l"
  2353. RETURNNAME;
  2354.     YY_BREAK
  2355. case 113:
  2356. YY_RULE_SETUP
  2357. #line 479 "scan.l"
  2358. {
  2359.             format_synerr( _( "bad <start condition>: %s" ),
  2360.                 yytext );
  2361.             }
  2362.     YY_BREAK
  2363.  
  2364. case 114:
  2365. YY_RULE_SETUP
  2366. #line 485 "scan.l"
  2367. BEGIN(SECT2); return '^';
  2368.     YY_BREAK
  2369.  
  2370. case 115:
  2371. YY_RULE_SETUP
  2372. #line 489 "scan.l"
  2373. RETURNCHAR;
  2374.     YY_BREAK
  2375. case 116:
  2376. YY_RULE_SETUP
  2377. #line 490 "scan.l"
  2378. BEGIN(SECT2); return '"';
  2379.     YY_BREAK
  2380. case 117:
  2381. YY_RULE_SETUP
  2382. #line 492 "scan.l"
  2383. {
  2384.             synerr( _( "missing quote" ) );
  2385.             BEGIN(SECT2);
  2386.             ++linenum;
  2387.             return '"';
  2388.             }
  2389.     YY_BREAK
  2390.  
  2391.  
  2392. case 118:
  2393. *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  2394. yy_c_buf_p = yy_cp = yy_bp + 1;
  2395. YY_DO_BEFORE_ACTION; /* set up yytext again */
  2396. YY_RULE_SETUP
  2397. #line 502 "scan.l"
  2398. BEGIN(CCL); return '^';
  2399.     YY_BREAK
  2400. case 119:
  2401. *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  2402. yy_c_buf_p = yy_cp = yy_bp + 1;
  2403. YY_DO_BEFORE_ACTION; /* set up yytext again */
  2404. YY_RULE_SETUP
  2405. #line 503 "scan.l"
  2406. return '^';
  2407.     YY_BREAK
  2408. case 120:
  2409. YY_RULE_SETUP
  2410. #line 504 "scan.l"
  2411. BEGIN(CCL); RETURNCHAR;
  2412.     YY_BREAK
  2413.  
  2414.  
  2415. case 121:
  2416. *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  2417. yy_c_buf_p = yy_cp = yy_bp + 1;
  2418. YY_DO_BEFORE_ACTION; /* set up yytext again */
  2419. YY_RULE_SETUP
  2420. #line 508 "scan.l"
  2421. return '-';
  2422.     YY_BREAK
  2423. case 122:
  2424. YY_RULE_SETUP
  2425. #line 509 "scan.l"
  2426. RETURNCHAR;
  2427.     YY_BREAK
  2428. case 123:
  2429. YY_RULE_SETUP
  2430. #line 510 "scan.l"
  2431. BEGIN(SECT2); return ']';
  2432.     YY_BREAK
  2433. case 124:
  2434. YY_RULE_SETUP
  2435. #line 511 "scan.l"
  2436. {
  2437.             synerr( _( "bad character class" ) );
  2438.             BEGIN(SECT2);
  2439.             return ']';
  2440.             }
  2441.     YY_BREAK
  2442.  
  2443.  
  2444. case 125:
  2445. YY_RULE_SETUP
  2446. #line 519 "scan.l"
  2447. BEGIN(CCL); return CCE_ALNUM;
  2448.     YY_BREAK
  2449. case 126:
  2450. YY_RULE_SETUP
  2451. #line 520 "scan.l"
  2452. BEGIN(CCL); return CCE_ALPHA;
  2453.     YY_BREAK
  2454. case 127:
  2455. YY_RULE_SETUP
  2456. #line 521 "scan.l"
  2457. BEGIN(CCL); return CCE_BLANK;
  2458.     YY_BREAK
  2459. case 128:
  2460. YY_RULE_SETUP
  2461. #line 522 "scan.l"
  2462. BEGIN(CCL); return CCE_CNTRL;
  2463.     YY_BREAK
  2464. case 129:
  2465. YY_RULE_SETUP
  2466. #line 523 "scan.l"
  2467. BEGIN(CCL); return CCE_DIGIT;
  2468.     YY_BREAK
  2469. case 130:
  2470. YY_RULE_SETUP
  2471. #line 524 "scan.l"
  2472. BEGIN(CCL); return CCE_GRAPH;
  2473.     YY_BREAK
  2474. case 131:
  2475. YY_RULE_SETUP
  2476. #line 525 "scan.l"
  2477. BEGIN(CCL); return CCE_LOWER;
  2478.     YY_BREAK
  2479. case 132:
  2480. YY_RULE_SETUP
  2481. #line 526 "scan.l"
  2482. BEGIN(CCL); return CCE_PRINT;
  2483.     YY_BREAK
  2484. case 133:
  2485. YY_RULE_SETUP
  2486. #line 527 "scan.l"
  2487. BEGIN(CCL); return CCE_PUNCT;
  2488.     YY_BREAK
  2489. case 134:
  2490. YY_RULE_SETUP
  2491. #line 528 "scan.l"
  2492. BEGIN(CCL); return CCE_SPACE;
  2493.     YY_BREAK
  2494. case 135:
  2495. YY_RULE_SETUP
  2496. #line 529 "scan.l"
  2497. BEGIN(CCL); return CCE_UPPER;
  2498.     YY_BREAK
  2499. case 136:
  2500. YY_RULE_SETUP
  2501. #line 530 "scan.l"
  2502. BEGIN(CCL); return CCE_XDIGIT;
  2503.     YY_BREAK
  2504. case 137:
  2505. YY_RULE_SETUP
  2506. #line 531 "scan.l"
  2507. {
  2508.             format_synerr(
  2509.                 _( "bad character class expression: %s" ),
  2510.                     yytext );
  2511.             BEGIN(CCL); return CCE_ALNUM;
  2512.             }
  2513.     YY_BREAK
  2514.  
  2515.  
  2516. case 138:
  2517. YY_RULE_SETUP
  2518. #line 540 "scan.l"
  2519. {
  2520.             yylval = myctoi( yytext );
  2521.             return NUMBER;
  2522.             }
  2523.     YY_BREAK
  2524. case 139:
  2525. YY_RULE_SETUP
  2526. #line 545 "scan.l"
  2527. return ',';
  2528.     YY_BREAK
  2529. case 140:
  2530. YY_RULE_SETUP
  2531. #line 546 "scan.l"
  2532. BEGIN(SECT2); return '}';
  2533.     YY_BREAK
  2534. case 141:
  2535. YY_RULE_SETUP
  2536. #line 548 "scan.l"
  2537. {
  2538.             synerr( _( "bad character inside {}'s" ) );
  2539.             BEGIN(SECT2);
  2540.             return '}';
  2541.             }
  2542.     YY_BREAK
  2543. case 142:
  2544. YY_RULE_SETUP
  2545. #line 554 "scan.l"
  2546. {
  2547.             synerr( _( "missing }" ) );
  2548.             BEGIN(SECT2);
  2549.             ++linenum;
  2550.             return '}';
  2551.             }
  2552.     YY_BREAK
  2553.  
  2554.  
  2555. case 143:
  2556. YY_RULE_SETUP
  2557. #line 564 "scan.l"
  2558. bracelevel = 0;
  2559.     YY_BREAK
  2560. case 144:
  2561. YY_RULE_SETUP
  2562. #line 566 "scan.l"
  2563. ACTION_ECHO; yy_push_state( COMMENT );
  2564.     YY_BREAK
  2565.  
  2566. case 145:
  2567. YY_RULE_SETUP
  2568. #line 569 "scan.l"
  2569. {
  2570.             ACTION_ECHO;
  2571.             CHECK_REJECT(yytext);
  2572.             }
  2573.     YY_BREAK
  2574. case 146:
  2575. YY_RULE_SETUP
  2576. #line 573 "scan.l"
  2577. {
  2578.             ACTION_ECHO;
  2579.             CHECK_YYMORE(yytext);
  2580.             }
  2581.     YY_BREAK
  2582.  
  2583. case 147:
  2584. YY_RULE_SETUP
  2585. #line 579 "scan.l"
  2586. ACTION_ECHO;
  2587.     YY_BREAK
  2588. case 148:
  2589. YY_RULE_SETUP
  2590. #line 580 "scan.l"
  2591. {
  2592.             ++linenum;
  2593.             ACTION_ECHO;
  2594.             if ( bracelevel == 0 ||
  2595.                  (doing_codeblock && indented_code) )
  2596.                 {
  2597.                 if ( doing_rule_action )
  2598.                     add_action( "\tYY_BREAK\n" );
  2599.  
  2600.                 doing_rule_action = doing_codeblock = false;
  2601.                 BEGIN(SECT2);
  2602.                 }
  2603.             }
  2604.     YY_BREAK
  2605.  
  2606. /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */
  2607.  
  2608. case 149:
  2609. YY_RULE_SETUP
  2610. #line 598 "scan.l"
  2611. ACTION_ECHO; ++bracelevel;
  2612.     YY_BREAK
  2613. case 150:
  2614. YY_RULE_SETUP
  2615. #line 599 "scan.l"
  2616. ACTION_ECHO; --bracelevel;
  2617.     YY_BREAK
  2618. case 151:
  2619. YY_RULE_SETUP
  2620. #line 600 "scan.l"
  2621. ACTION_ECHO;
  2622.     YY_BREAK
  2623. case 152:
  2624. YY_RULE_SETUP
  2625. #line 601 "scan.l"
  2626. ACTION_ECHO;
  2627.     YY_BREAK
  2628. case 153:
  2629. YY_RULE_SETUP
  2630. #line 602 "scan.l"
  2631. ACTION_ECHO; /* character constant */
  2632.     YY_BREAK
  2633. case 154:
  2634. YY_RULE_SETUP
  2635. #line 603 "scan.l"
  2636. ACTION_ECHO; BEGIN(ACTION_STRING);
  2637.     YY_BREAK
  2638. case 155:
  2639. YY_RULE_SETUP
  2640. #line 604 "scan.l"
  2641. {
  2642.             ++linenum;
  2643.             ACTION_ECHO;
  2644.             if ( bracelevel == 0 )
  2645.                 {
  2646.                 if ( doing_rule_action )
  2647.                     add_action( "\tYY_BREAK\n" );
  2648.  
  2649.                 doing_rule_action = false;
  2650.                 BEGIN(SECT2);
  2651.                 }
  2652.             }
  2653.     YY_BREAK
  2654. case 156:
  2655. YY_RULE_SETUP
  2656. #line 616 "scan.l"
  2657. ACTION_ECHO;
  2658.     YY_BREAK
  2659.  
  2660.  
  2661. case 157:
  2662. YY_RULE_SETUP
  2663. #line 620 "scan.l"
  2664. ACTION_ECHO;
  2665.     YY_BREAK
  2666. case 158:
  2667. YY_RULE_SETUP
  2668. #line 621 "scan.l"
  2669. ACTION_ECHO;
  2670.     YY_BREAK
  2671. case 159:
  2672. YY_RULE_SETUP
  2673. #line 622 "scan.l"
  2674. ++linenum; ACTION_ECHO;
  2675.     YY_BREAK
  2676. case 160:
  2677. YY_RULE_SETUP
  2678. #line 623 "scan.l"
  2679. ACTION_ECHO; BEGIN(ACTION);
  2680.     YY_BREAK
  2681. case 161:
  2682. YY_RULE_SETUP
  2683. #line 624 "scan.l"
  2684. ACTION_ECHO;
  2685.     YY_BREAK
  2686.  
  2687. case YY_STATE_EOF(COMMENT):
  2688. case YY_STATE_EOF(ACTION):
  2689. case YY_STATE_EOF(ACTION_STRING):
  2690. #line 627 "scan.l"
  2691. {
  2692.             synerr( _( "EOF encountered inside an action" ) );
  2693.             yyterminate();
  2694.             }
  2695.     YY_BREAK
  2696. case 162:
  2697. YY_RULE_SETUP
  2698. #line 633 "scan.l"
  2699. {
  2700.             yylval = myesc( (Char *) yytext );
  2701.  
  2702.             if ( YY_START == FIRSTCCL )
  2703.                 BEGIN(CCL);
  2704.  
  2705.             return CHAR;
  2706.             }
  2707.     YY_BREAK
  2708.  
  2709. case 163:
  2710. YY_RULE_SETUP
  2711. #line 644 "scan.l"
  2712. ECHO;
  2713.     YY_BREAK
  2714. case YY_STATE_EOF(SECT3):
  2715. #line 645 "scan.l"
  2716. sectnum = 0; yyterminate();
  2717.     YY_BREAK
  2718.  
  2719. case 164:
  2720. YY_RULE_SETUP
  2721. #line 648 "scan.l"
  2722. format_synerr( _( "bad character: %s" ), yytext );
  2723.     YY_BREAK
  2724. case 165:
  2725. YY_RULE_SETUP
  2726. #line 650 "scan.l"
  2727. YY_FATAL_ERROR( "flex scanner jammed" );
  2728.     YY_BREAK
  2729. #line 2730 "scan.c"
  2730. case YY_STATE_EOF(INITIAL):
  2731. case YY_STATE_EOF(SECT2):
  2732. case YY_STATE_EOF(CODEBLOCK):
  2733. case YY_STATE_EOF(PICKUPDEF):
  2734. case YY_STATE_EOF(SC):
  2735. case YY_STATE_EOF(CARETISBOL):
  2736. case YY_STATE_EOF(NUM):
  2737. case YY_STATE_EOF(QUOTE):
  2738. case YY_STATE_EOF(FIRSTCCL):
  2739. case YY_STATE_EOF(CCL):
  2740. case YY_STATE_EOF(RECOVER):
  2741. case YY_STATE_EOF(PERCENT_BRACE_ACTION):
  2742. case YY_STATE_EOF(OPTION):
  2743. case YY_STATE_EOF(LINEDIR):
  2744.     yyterminate();
  2745.  
  2746.     case YY_END_OF_BUFFER:
  2747.         {
  2748.         /* Amount of text matched not including the EOB char. */
  2749.         int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
  2750.  
  2751.         /* Undo the effects of YY_DO_BEFORE_ACTION. */
  2752.         *yy_cp = yy_hold_char;
  2753.  
  2754.         if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
  2755.             {
  2756.             /* We're scanning a new file or input source.  It's
  2757.              * possible that this happened because the user
  2758.              * just pointed yyin at a new source and called
  2759.              * yylex().  If so, then we have to assure
  2760.              * consistency between yy_current_buffer and our
  2761.              * globals.  Here is the right place to do so, because
  2762.              * this is the first action (other than possibly a
  2763.              * back-up) that will match for the new input source.
  2764.              */
  2765.             yy_n_chars = yy_current_buffer->yy_n_chars;
  2766.             yy_current_buffer->yy_input_file = yyin;
  2767.             yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
  2768.             }
  2769.  
  2770.         /* Note that here we test for yy_c_buf_p "<=" to the position
  2771.          * of the first EOB in the buffer, since yy_c_buf_p will
  2772.          * already have been incremented past the NUL character
  2773.          * (since all states make transitions on EOB to the
  2774.          * end-of-buffer state).  Contrast this with the test
  2775.          * in input().
  2776.          */
  2777.         if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
  2778.             { /* This was really a NUL. */
  2779.             yy_state_type yy_next_state;
  2780.  
  2781.             yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
  2782.  
  2783.             yy_current_state = yy_get_previous_state();
  2784.  
  2785.             /* Okay, we're now positioned to make the NUL
  2786.              * transition.  We couldn't have
  2787.              * yy_get_previous_state() go ahead and do it
  2788.              * for us because it doesn't know how to deal
  2789.              * with the possibility of jamming (and we don't
  2790.              * want to build jamming into it because then it
  2791.              * will run more slowly).
  2792.              */
  2793.  
  2794.             yy_next_state = yy_try_NUL_trans( yy_current_state );
  2795.  
  2796.             yy_bp = yytext_ptr + YY_MORE_ADJ;
  2797.  
  2798.             if ( yy_next_state )
  2799.                 {
  2800.                 /* Consume the NUL. */
  2801.                 yy_cp = ++yy_c_buf_p;
  2802.                 yy_current_state = yy_next_state;
  2803.                 goto yy_match;
  2804.                 }
  2805.  
  2806.             else
  2807.                 {
  2808.                 yy_cp = yy_c_buf_p;
  2809.                 goto yy_find_action;
  2810.                 }
  2811.             }
  2812.  
  2813.         else switch ( yy_get_next_buffer() )
  2814.             {
  2815.             case EOB_ACT_END_OF_FILE:
  2816.                 {
  2817.                 yy_did_buffer_switch_on_eof = 0;
  2818.  
  2819.                 if ( yywrap() )
  2820.                     {
  2821.                     /* Note: because we've taken care in
  2822.                      * yy_get_next_buffer() to have set up
  2823.                      * yytext, we can now set up
  2824.                      * yy_c_buf_p so that if some total
  2825.                      * hoser (like flex itself) wants to
  2826.                      * call the scanner after we return the
  2827.                      * YY_NULL, it'll still work - another
  2828.                      * YY_NULL will get returned.
  2829.                      */
  2830.                     yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
  2831.  
  2832.                     yy_act = YY_STATE_EOF(YY_START);
  2833.                     goto do_action;
  2834.                     }
  2835.  
  2836.                 else
  2837.                     {
  2838.                     if ( ! yy_did_buffer_switch_on_eof )
  2839.                         YY_NEW_FILE;
  2840.                     }
  2841.                 break;
  2842.                 }
  2843.  
  2844.             case EOB_ACT_CONTINUE_SCAN:
  2845.                 yy_c_buf_p =
  2846.                     yytext_ptr + yy_amount_of_matched_text;
  2847.  
  2848.                 yy_current_state = yy_get_previous_state();
  2849.  
  2850.                 yy_cp = yy_c_buf_p;
  2851.                 yy_bp = yytext_ptr + YY_MORE_ADJ;
  2852.                 goto yy_match;
  2853.  
  2854.             case EOB_ACT_LAST_MATCH:
  2855.                 yy_c_buf_p =
  2856.                 &yy_current_buffer->yy_ch_buf[yy_n_chars];
  2857.  
  2858.                 yy_current_state = yy_get_previous_state();
  2859.  
  2860.                 yy_cp = yy_c_buf_p;
  2861.                 yy_bp = yytext_ptr + YY_MORE_ADJ;
  2862.                 goto yy_find_action;
  2863.             }
  2864.         break;
  2865.         }
  2866.  
  2867.     default:
  2868.         YY_FATAL_ERROR(
  2869.             "fatal flex scanner internal error--no action found" );
  2870.     } /* end of action switch */
  2871.         } /* end of scanning one token */
  2872.     } /* end of yylex */
  2873.  
  2874.  
  2875. /* yy_get_next_buffer - try to read in a new buffer
  2876.  *
  2877.  * Returns a code representing an action:
  2878.  *    EOB_ACT_LAST_MATCH -
  2879.  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  2880.  *    EOB_ACT_END_OF_FILE - end of file
  2881.  */
  2882.  
  2883. static int yy_get_next_buffer()
  2884.     {
  2885.     register char *dest = yy_current_buffer->yy_ch_buf;
  2886.     register char *source = yytext_ptr;
  2887.     register int number_to_move, i;
  2888.     int ret_val;
  2889.  
  2890.     if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
  2891.         YY_FATAL_ERROR(
  2892.         "fatal flex scanner internal error--end of buffer missed" );
  2893.  
  2894.     if ( yy_current_buffer->yy_fill_buffer == 0 )
  2895.         { /* Don't try to fill the buffer, so this is an EOF. */
  2896.         if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
  2897.             {
  2898.             /* We matched a singled characater, the EOB, so
  2899.              * treat this as a final EOF.
  2900.              */
  2901.             return EOB_ACT_END_OF_FILE;
  2902.             }
  2903.  
  2904.         else
  2905.             {
  2906.             /* We matched some text prior to the EOB, first
  2907.              * process it.
  2908.              */
  2909.             return EOB_ACT_LAST_MATCH;
  2910.             }
  2911.         }
  2912.  
  2913.     /* Try to read more data. */
  2914.  
  2915.     /* First move last chars to start of buffer. */
  2916.     number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
  2917.  
  2918.     for ( i = 0; i < number_to_move; ++i )
  2919.         *(dest++) = *(source++);
  2920.  
  2921.     if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  2922.         /* don't do the read, it's not guaranteed to return an EOF,
  2923.          * just force an EOF
  2924.          */
  2925.         yy_n_chars = 0;
  2926.  
  2927.     else
  2928.         {
  2929.         int num_to_read =
  2930.             yy_current_buffer->yy_buf_size - number_to_move - 1;
  2931.  
  2932.         while ( num_to_read <= 0 )
  2933.             { /* Not enough room in the buffer - grow it. */
  2934. #ifdef YY_USES_REJECT
  2935.             YY_FATAL_ERROR(
  2936. "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  2937. #else
  2938.  
  2939.             /* just a shorter name for the current buffer */
  2940.             YY_BUFFER_STATE b = yy_current_buffer;
  2941.  
  2942.             int yy_c_buf_p_offset =
  2943.                 (int) (yy_c_buf_p - b->yy_ch_buf);
  2944.  
  2945.             if ( b->yy_is_our_buffer )
  2946.                 {
  2947.                 int new_size = b->yy_buf_size * 2;
  2948.  
  2949.                 if ( new_size <= 0 )
  2950.                     b->yy_buf_size += b->yy_buf_size / 8;
  2951.                 else
  2952.                     b->yy_buf_size *= 2;
  2953.  
  2954.                 b->yy_ch_buf = (char *)
  2955.                     /* Include room in for 2 EOB chars. */
  2956.                     yy_flex_realloc( (void *) b->yy_ch_buf,
  2957.                              b->yy_buf_size + 2 );
  2958.                 }
  2959.             else
  2960.                 /* Can't grow it, we don't own it. */
  2961.                 b->yy_ch_buf = 0;
  2962.  
  2963.             if ( ! b->yy_ch_buf )
  2964.                 YY_FATAL_ERROR(
  2965.                 "fatal error - scanner input buffer overflow" );
  2966.  
  2967.             yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
  2968.  
  2969.             num_to_read = yy_current_buffer->yy_buf_size -
  2970.                         number_to_move - 1;
  2971. #endif
  2972.             }
  2973.  
  2974.         if ( num_to_read > YY_READ_BUF_SIZE )
  2975.             num_to_read = YY_READ_BUF_SIZE;
  2976.  
  2977.         /* Read in more data. */
  2978.         YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
  2979.             yy_n_chars, num_to_read );
  2980.         }
  2981.  
  2982.     if ( yy_n_chars == 0 )
  2983.         {
  2984.         if ( number_to_move == YY_MORE_ADJ )
  2985.             {
  2986.             ret_val = EOB_ACT_END_OF_FILE;
  2987.             yyrestart( yyin );
  2988.             }
  2989.  
  2990.         else
  2991.             {
  2992.             ret_val = EOB_ACT_LAST_MATCH;
  2993.             yy_current_buffer->yy_buffer_status =
  2994.                 YY_BUFFER_EOF_PENDING;
  2995.             }
  2996.         }
  2997.  
  2998.     else
  2999.         ret_val = EOB_ACT_CONTINUE_SCAN;
  3000.  
  3001.     yy_n_chars += number_to_move;
  3002.     yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  3003.     yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  3004.  
  3005.     yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
  3006.  
  3007.     return ret_val;
  3008.     }
  3009.  
  3010.  
  3011. /* yy_get_previous_state - get the state just before the EOB char was reached */
  3012.  
  3013. static yy_state_type yy_get_previous_state()
  3014.     {
  3015.     register yy_state_type yy_current_state;
  3016.     register char *yy_cp;
  3017.  
  3018.     yy_current_state = yy_start;
  3019.     yy_current_state += YY_AT_BOL();
  3020.  
  3021.     for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
  3022.         {
  3023.         register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  3024.         if ( yy_accept[yy_current_state] )
  3025.             {
  3026.             yy_last_accepting_state = yy_current_state;
  3027.             yy_last_accepting_cpos = yy_cp;
  3028.             }
  3029.         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3030.             {
  3031.             yy_current_state = (int) yy_def[yy_current_state];
  3032.             if ( yy_current_state >= 769 )
  3033.                 yy_c = yy_meta[(unsigned int) yy_c];
  3034.             }
  3035.         yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3036.         }
  3037.  
  3038.     return yy_current_state;
  3039.     }
  3040.  
  3041.  
  3042. /* yy_try_NUL_trans - try to make a transition on the NUL character
  3043.  *
  3044.  * synopsis
  3045.  *    next_state = yy_try_NUL_trans( current_state );
  3046.  */
  3047.  
  3048. #ifdef YY_USE_PROTOS
  3049. static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
  3050. #else
  3051. static yy_state_type yy_try_NUL_trans( yy_current_state )
  3052. yy_state_type yy_current_state;
  3053. #endif
  3054.     {
  3055.     register int yy_is_jam;
  3056.     register char *yy_cp = yy_c_buf_p;
  3057.  
  3058.     register YY_CHAR yy_c = 1;
  3059.     if ( yy_accept[yy_current_state] )
  3060.         {
  3061.         yy_last_accepting_state = yy_current_state;
  3062.         yy_last_accepting_cpos = yy_cp;
  3063.         }
  3064.     while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3065.         {
  3066.         yy_current_state = (int) yy_def[yy_current_state];
  3067.         if ( yy_current_state >= 769 )
  3068.             yy_c = yy_meta[(unsigned int) yy_c];
  3069.         }
  3070.     yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  3071.     yy_is_jam = (yy_current_state == 768);
  3072.  
  3073.     return yy_is_jam ? 0 : yy_current_state;
  3074.     }
  3075.  
  3076.  
  3077. #ifndef YY_NO_UNPUT
  3078. #ifdef YY_USE_PROTOS
  3079. static void yyunput( int c, register char *yy_bp )
  3080. #else
  3081. static void yyunput( c, yy_bp )
  3082. int c;
  3083. register char *yy_bp;
  3084. #endif
  3085.     {
  3086.     register char *yy_cp = yy_c_buf_p;
  3087.  
  3088.     /* undo effects of setting up yytext */
  3089.     *yy_cp = yy_hold_char;
  3090.  
  3091.     if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
  3092.         { /* need to shift things up to make room */
  3093.         /* +2 for EOB chars. */
  3094.         register int number_to_move = yy_n_chars + 2;
  3095.         register char *dest = &yy_current_buffer->yy_ch_buf[
  3096.                     yy_current_buffer->yy_buf_size + 2];
  3097.         register char *source =
  3098.                 &yy_current_buffer->yy_ch_buf[number_to_move];
  3099.  
  3100.         while ( source > yy_current_buffer->yy_ch_buf )
  3101.             *--dest = *--source;
  3102.  
  3103.         yy_cp += (int) (dest - source);
  3104.         yy_bp += (int) (dest - source);
  3105.         yy_n_chars = yy_current_buffer->yy_buf_size;
  3106.  
  3107.         if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
  3108.             YY_FATAL_ERROR( "flex scanner push-back overflow" );
  3109.         }
  3110.  
  3111.     *--yy_cp = (char) c;
  3112.  
  3113.  
  3114.     yytext_ptr = yy_bp;
  3115.     yy_hold_char = *yy_cp;
  3116.     yy_c_buf_p = yy_cp;
  3117.     }
  3118. #endif    /* ifndef YY_NO_UNPUT */
  3119.  
  3120.  
  3121. #ifdef __cplusplus
  3122. static int yyinput()
  3123. #else
  3124. static int input()
  3125. #endif
  3126.     {
  3127.     int c;
  3128.  
  3129.     *yy_c_buf_p = yy_hold_char;
  3130.  
  3131.     if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
  3132.         {
  3133.         /* yy_c_buf_p now points to the character we want to return.
  3134.          * If this occurs *before* the EOB characters, then it's a
  3135.          * valid NUL; if not, then we've hit the end of the buffer.
  3136.          */
  3137.         if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
  3138.             /* This was really a NUL. */
  3139.             *yy_c_buf_p = '\0';
  3140.  
  3141.         else
  3142.             { /* need more input */
  3143.             yytext_ptr = yy_c_buf_p;
  3144.             ++yy_c_buf_p;
  3145.  
  3146.             switch ( yy_get_next_buffer() )
  3147.                 {
  3148.                 case EOB_ACT_END_OF_FILE:
  3149.                     {
  3150.                     if ( yywrap() )
  3151.                         {
  3152.                         yy_c_buf_p =
  3153.                         yytext_ptr + YY_MORE_ADJ;
  3154.                         return EOF;
  3155.                         }
  3156.  
  3157.                     if ( ! yy_did_buffer_switch_on_eof )
  3158.                         YY_NEW_FILE;
  3159. #ifdef __cplusplus
  3160.                     return yyinput();
  3161. #else
  3162.                     return input();
  3163. #endif
  3164.                     }
  3165.  
  3166.                 case EOB_ACT_CONTINUE_SCAN:
  3167.                     yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
  3168.                     break;
  3169.  
  3170.                 case EOB_ACT_LAST_MATCH:
  3171. #ifdef __cplusplus
  3172.                     YY_FATAL_ERROR(
  3173.                     "unexpected last match in yyinput()" );
  3174. #else
  3175.                     YY_FATAL_ERROR(
  3176.                     "unexpected last match in input()" );
  3177. #endif
  3178.                 }
  3179.             }
  3180.         }
  3181.  
  3182.     c = *(unsigned char *) yy_c_buf_p;    /* cast for 8-bit char's */
  3183.     *yy_c_buf_p = '\0';    /* preserve yytext */
  3184.     yy_hold_char = *++yy_c_buf_p;
  3185.  
  3186.     yy_current_buffer->yy_at_bol = (c == '\n');
  3187.  
  3188.     return c;
  3189.     }
  3190.  
  3191.  
  3192. #ifdef YY_USE_PROTOS
  3193. void yyrestart( FILE *input_file )
  3194. #else
  3195. void yyrestart( input_file )
  3196. FILE *input_file;
  3197. #endif
  3198.     {
  3199.     if ( ! yy_current_buffer )
  3200.         yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
  3201.  
  3202.     yy_init_buffer( yy_current_buffer, input_file );
  3203.     yy_load_buffer_state();
  3204.     }
  3205.  
  3206.  
  3207. #ifdef YY_USE_PROTOS
  3208. void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
  3209. #else
  3210. void yy_switch_to_buffer( new_buffer )
  3211. YY_BUFFER_STATE new_buffer;
  3212. #endif
  3213.     {
  3214.     if ( yy_current_buffer == new_buffer )
  3215.         return;
  3216.  
  3217.     if ( yy_current_buffer )
  3218.         {
  3219.         /* Flush out information for old buffer. */
  3220.         *yy_c_buf_p = yy_hold_char;
  3221.         yy_current_buffer->yy_buf_pos = yy_c_buf_p;
  3222.         yy_current_buffer->yy_n_chars = yy_n_chars;
  3223.         }
  3224.  
  3225.     yy_current_buffer = new_buffer;
  3226.     yy_load_buffer_state();
  3227.  
  3228.     /* We don't actually know whether we did this switch during
  3229.      * EOF (yywrap()) processing, but the only time this flag
  3230.      * is looked at is after yywrap() is called, so it's safe
  3231.      * to go ahead and always set it.
  3232.      */
  3233.     yy_did_buffer_switch_on_eof = 1;
  3234.     }
  3235.  
  3236.  
  3237. #ifdef YY_USE_PROTOS
  3238. void yy_load_buffer_state( void )
  3239. #else
  3240. void yy_load_buffer_state()
  3241. #endif
  3242.     {
  3243.     yy_n_chars = yy_current_buffer->yy_n_chars;
  3244.     yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
  3245.     yyin = yy_current_buffer->yy_input_file;
  3246.     yy_hold_char = *yy_c_buf_p;
  3247.     }
  3248.  
  3249.  
  3250. #ifdef YY_USE_PROTOS
  3251. YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
  3252. #else
  3253. YY_BUFFER_STATE yy_create_buffer( file, size )
  3254. FILE *file;
  3255. int size;
  3256. #endif
  3257.     {
  3258.     YY_BUFFER_STATE b;
  3259.  
  3260.     b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
  3261.     if ( ! b )
  3262.         YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3263.  
  3264.     b->yy_buf_size = size;
  3265.  
  3266.     /* yy_ch_buf has to be 2 characters longer than the size given because
  3267.      * we need to put in 2 end-of-buffer characters.
  3268.      */
  3269.     b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
  3270.     if ( ! b->yy_ch_buf )
  3271.         YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3272.  
  3273.     b->yy_is_our_buffer = 1;
  3274.  
  3275.     yy_init_buffer( b, file );
  3276.  
  3277.     return b;
  3278.     }
  3279.  
  3280.  
  3281. #ifdef YY_USE_PROTOS
  3282. void yy_delete_buffer( YY_BUFFER_STATE b )
  3283. #else
  3284. void yy_delete_buffer( b )
  3285. YY_BUFFER_STATE b;
  3286. #endif
  3287.     {
  3288.     if ( ! b )
  3289.         return;
  3290.  
  3291.     if ( b == yy_current_buffer )
  3292.         yy_current_buffer = (YY_BUFFER_STATE) 0;
  3293.  
  3294.     if ( b->yy_is_our_buffer )
  3295.         yy_flex_free( (void *) b->yy_ch_buf );
  3296.  
  3297.     yy_flex_free( (void *) b );
  3298.     }
  3299.  
  3300.  
  3301. #ifndef YY_ALWAYS_INTERACTIVE
  3302. #ifndef YY_NEVER_INTERACTIVE
  3303. extern int isatty YY_PROTO(( int ));
  3304. #endif
  3305. #endif
  3306.  
  3307. #ifdef YY_USE_PROTOS
  3308. void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
  3309. #else
  3310. void yy_init_buffer( b, file )
  3311. YY_BUFFER_STATE b;
  3312. FILE *file;
  3313. #endif
  3314.  
  3315.  
  3316.     {
  3317.     yy_flush_buffer( b );
  3318.  
  3319.     b->yy_input_file = file;
  3320.     b->yy_fill_buffer = 1;
  3321.  
  3322. #if YY_ALWAYS_INTERACTIVE
  3323.     b->yy_is_interactive = 1;
  3324. #else
  3325. #if YY_NEVER_INTERACTIVE
  3326.     b->yy_is_interactive = 0;
  3327. #else
  3328.     b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  3329. #endif
  3330. #endif
  3331.     }
  3332.  
  3333.  
  3334. #ifdef YY_USE_PROTOS
  3335. void yy_flush_buffer( YY_BUFFER_STATE b )
  3336. #else
  3337. void yy_flush_buffer( b )
  3338. YY_BUFFER_STATE b;
  3339. #endif
  3340.  
  3341.     {
  3342.     b->yy_n_chars = 0;
  3343.  
  3344.     /* We always need two end-of-buffer characters.  The first causes
  3345.      * a transition to the end-of-buffer state.  The second causes
  3346.      * a jam in that state.
  3347.      */
  3348.     b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  3349.     b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  3350.  
  3351.     b->yy_buf_pos = &b->yy_ch_buf[0];
  3352.  
  3353.     b->yy_at_bol = 1;
  3354.     b->yy_buffer_status = YY_BUFFER_NEW;
  3355.  
  3356.     if ( b == yy_current_buffer )
  3357.         yy_load_buffer_state();
  3358.     }
  3359.  
  3360.  
  3361. #ifndef YY_NO_SCAN_BUFFER
  3362. #ifdef YY_USE_PROTOS
  3363. YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
  3364. #else
  3365. YY_BUFFER_STATE yy_scan_buffer( base, size )
  3366. char *base;
  3367. yy_size_t size;
  3368. #endif
  3369.     {
  3370.     YY_BUFFER_STATE b;
  3371.  
  3372.     if ( size < 2 ||
  3373.          base[size-2] != YY_END_OF_BUFFER_CHAR ||
  3374.          base[size-1] != YY_END_OF_BUFFER_CHAR )
  3375.         /* They forgot to leave room for the EOB's. */
  3376.         return 0;
  3377.  
  3378.     b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
  3379.     if ( ! b )
  3380.         YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  3381.  
  3382.     b->yy_buf_size = size - 2;    /* "- 2" to take care of EOB's */
  3383.     b->yy_buf_pos = b->yy_ch_buf = base;
  3384.     b->yy_is_our_buffer = 0;
  3385.     b->yy_input_file = 0;
  3386.     b->yy_n_chars = b->yy_buf_size;
  3387.     b->yy_is_interactive = 0;
  3388.     b->yy_at_bol = 1;
  3389.     b->yy_fill_buffer = 0;
  3390.     b->yy_buffer_status = YY_BUFFER_NEW;
  3391.  
  3392.     yy_switch_to_buffer( b );
  3393.  
  3394.     return b;
  3395.     }
  3396. #endif
  3397.  
  3398.  
  3399. #ifndef YY_NO_SCAN_STRING
  3400. #ifdef YY_USE_PROTOS
  3401. YY_BUFFER_STATE yy_scan_string( yyconst char *str )
  3402. #else
  3403. YY_BUFFER_STATE yy_scan_string( str )
  3404. yyconst char *str;
  3405. #endif
  3406.     {
  3407.     int len;
  3408.     for ( len = 0; str[len]; ++len )
  3409.         ;
  3410.  
  3411.     return yy_scan_bytes( str, len );
  3412.     }
  3413. #endif
  3414.  
  3415.  
  3416. #ifndef YY_NO_SCAN_BYTES
  3417. #ifdef YY_USE_PROTOS
  3418. YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
  3419. #else
  3420. YY_BUFFER_STATE yy_scan_bytes( bytes, len )
  3421. yyconst char *bytes;
  3422. int len;
  3423. #endif
  3424.     {
  3425.     YY_BUFFER_STATE b;
  3426.     char *buf;
  3427.     yy_size_t n;
  3428.     int i;
  3429.  
  3430.     /* Get memory for full buffer, including space for trailing EOB's. */
  3431.     n = len + 2;
  3432.     buf = (char *) yy_flex_alloc( n );
  3433.     if ( ! buf )
  3434.         YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  3435.  
  3436.     for ( i = 0; i < len; ++i )
  3437.         buf[i] = bytes[i];
  3438.  
  3439.     buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
  3440.  
  3441.     b = yy_scan_buffer( buf, n );
  3442.     if ( ! b )
  3443.         YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  3444.  
  3445.     /* It's okay to grow etc. this buffer, and we should throw it
  3446.      * away when we're done.
  3447.      */
  3448.     b->yy_is_our_buffer = 1;
  3449.  
  3450.     return b;
  3451.     }
  3452. #endif
  3453.  
  3454.  
  3455. #ifndef YY_NO_PUSH_STATE
  3456. #ifdef YY_USE_PROTOS
  3457. static void yy_push_state( int new_state )
  3458. #else
  3459. static void yy_push_state( new_state )
  3460. int new_state;
  3461. #endif
  3462.     {
  3463.     if ( yy_start_stack_ptr >= yy_start_stack_depth )
  3464.         {
  3465.         yy_size_t new_size;
  3466.  
  3467.         yy_start_stack_depth += YY_START_STACK_INCR;
  3468.         new_size = yy_start_stack_depth * sizeof( int );
  3469.  
  3470.         if ( ! yy_start_stack )
  3471.             yy_start_stack = (int *) yy_flex_alloc( new_size );
  3472.  
  3473.         else
  3474.             yy_start_stack = (int *) yy_flex_realloc(
  3475.                     (void *) yy_start_stack, new_size );
  3476.  
  3477.         if ( ! yy_start_stack )
  3478.             YY_FATAL_ERROR(
  3479.             "out of memory expanding start-condition stack" );
  3480.         }
  3481.  
  3482.     yy_start_stack[yy_start_stack_ptr++] = YY_START;
  3483.  
  3484.     BEGIN(new_state);
  3485.     }
  3486. #endif
  3487.  
  3488.  
  3489. #ifndef YY_NO_POP_STATE
  3490. static void yy_pop_state()
  3491.     {
  3492.     if ( --yy_start_stack_ptr < 0 )
  3493.         YY_FATAL_ERROR( "start-condition stack underflow" );
  3494.  
  3495.     BEGIN(yy_start_stack[yy_start_stack_ptr]);
  3496.     }
  3497. #endif
  3498.  
  3499.  
  3500. #ifndef YY_NO_TOP_STATE
  3501. static int yy_top_state()
  3502.     {
  3503.     return yy_start_stack[yy_start_stack_ptr - 1];
  3504.     }
  3505. #endif
  3506.  
  3507. #ifndef YY_EXIT_FAILURE
  3508. #define YY_EXIT_FAILURE 2
  3509. #endif
  3510.  
  3511. #ifdef YY_USE_PROTOS
  3512. static void yy_fatal_error( yyconst char msg[] )
  3513. #else
  3514. static void yy_fatal_error( msg )
  3515. char msg[];
  3516. #endif
  3517.     {
  3518.     (void) fprintf( stderr, "%s\n", msg );
  3519.     exit( YY_EXIT_FAILURE );
  3520.     }
  3521.  
  3522.  
  3523.  
  3524. /* Redefine yyless() so it works in section 3 code. */
  3525.  
  3526. #undef yyless
  3527. #define yyless(n) \
  3528.     do \
  3529.         { \
  3530.         /* Undo effects of setting up yytext. */ \
  3531.         yytext[yyleng] = yy_hold_char; \
  3532.         yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
  3533.         yy_hold_char = *yy_c_buf_p; \
  3534.         *yy_c_buf_p = '\0'; \
  3535.         yyleng = n; \
  3536.         } \
  3537.     while ( 0 )
  3538.  
  3539.  
  3540. /* Internal utility routines. */
  3541.  
  3542. #ifndef yytext_ptr
  3543. #ifdef YY_USE_PROTOS
  3544. static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
  3545. #else
  3546. static void yy_flex_strncpy( s1, s2, n )
  3547. char *s1;
  3548. yyconst char *s2;
  3549. int n;
  3550. #endif
  3551.     {
  3552.     register int i;
  3553.     for ( i = 0; i < n; ++i )
  3554.         s1[i] = s2[i];
  3555.     }
  3556. #endif
  3557.  
  3558.  
  3559. #ifdef YY_USE_PROTOS
  3560. static void *yy_flex_alloc( yy_size_t size )
  3561. #else
  3562. static void *yy_flex_alloc( size )
  3563. yy_size_t size;
  3564. #endif
  3565.     {
  3566.     return (void *) malloc( size );
  3567.     }
  3568.  
  3569. #ifdef YY_USE_PROTOS
  3570. static void *yy_flex_realloc( void *ptr, yy_size_t size )
  3571. #else
  3572. static void *yy_flex_realloc( ptr, size )
  3573. void *ptr;
  3574. yy_size_t size;
  3575. #endif
  3576.     {
  3577.     /* The cast to (char *) in the following accommodates both
  3578.      * implementations that use char* generic pointers, and those
  3579.      * that use void* generic pointers.  It works with the latter
  3580.      * because both ANSI C and C++ allow castless assignment from
  3581.      * any pointer type to void*, and deal with argument conversions
  3582.      * as though doing an assignment.
  3583.      */
  3584.     return (void *) realloc( (char *) ptr, size );
  3585.     }
  3586.  
  3587. #ifdef YY_USE_PROTOS
  3588. static void yy_flex_free( void *ptr )
  3589. #else
  3590. static void yy_flex_free( ptr )
  3591. void *ptr;
  3592. #endif
  3593.     {
  3594.     free( ptr );
  3595.     }
  3596.  
  3597. #if YY_MAIN
  3598. int main()
  3599.     {
  3600.     yylex();
  3601.     return 0;
  3602.     }
  3603. #endif
  3604. #line 650 "scan.l"
  3605.  
  3606.  
  3607.  
  3608. int yywrap()
  3609.     {
  3610.     if ( --num_input_files > 0 )
  3611.         {
  3612.         set_input_file( *++input_files );
  3613.         return 0;
  3614.         }
  3615.  
  3616.     else
  3617.         return 1;
  3618.     }
  3619.  
  3620.  
  3621. /* set_input_file - open the given file (if NULL, stdin) for scanning */
  3622.  
  3623. void set_input_file( file )
  3624. char *file;
  3625.     {
  3626.     if ( file && strcmp( file, "-" ) )
  3627.         {
  3628.         infilename = copy_string( file );
  3629.         yyin = fopen( infilename, "r" );
  3630.  
  3631.         if ( yyin == NULL )
  3632.             lerrsf( _( "can't open %s" ), file );
  3633.         }
  3634.  
  3635.     else
  3636.         {
  3637.         yyin = stdin;
  3638.         infilename = copy_string( "<stdin>" );
  3639.         }
  3640.  
  3641.     linenum = 1;
  3642.     }
  3643.  
  3644.  
  3645. /* Wrapper routines for accessing the scanner's malloc routines. */
  3646.  
  3647. void *flex_alloc( size )
  3648. size_t size;
  3649.     {
  3650.     return (void *) malloc( size );
  3651.     }
  3652.  
  3653. void *flex_realloc( ptr, size )
  3654. void *ptr;
  3655. size_t size;
  3656.     {
  3657.     return (void *) realloc( ptr, size );
  3658.     }
  3659.  
  3660. void flex_free( ptr )
  3661. void *ptr;
  3662.     {
  3663.     if ( ptr )
  3664.         free( ptr );
  3665.     }
  3666.