home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / o / orbits / !orbits / c / orblex < prev    next >
Encoding:
Text File  |  1991-10-29  |  15.9 KB  |  670 lines

  1. #define FLEX_COMPRESSED
  2. /* A lexical scanner generated by flex */
  3.  
  4. /* scanner skeleton version:
  5.  * $Header: flex.skel,v 2.0 89/06/20 15:49:46 vern Locked $
  6.  */
  7.  
  8. #include <stdio.h>
  9.  
  10. #define FLEX_SCANNER
  11.  
  12. /* amount of stuff to slurp up with each read */
  13. #ifndef YY_READ_BUF_SIZE
  14. #ifdef  LIM64K
  15. #define YY_READ_BUF_SIZE 1024
  16. #else
  17. #define YY_READ_BUF_SIZE 8192
  18. #endif
  19. #endif
  20.  
  21. #ifndef YY_BUF_SIZE
  22. #define YY_BUF_SIZE (YY_READ_BUF_SIZE * 2) /* size of input buffer */
  23. #endif
  24.  
  25. /* returned upon end-of-file */
  26. #define YY_END_TOK 0
  27.  
  28. /* copy whatever the last rule matched to the standard output */
  29.  
  30. #define ECHO fputs( yytext, yyout )
  31.  
  32. /* gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
  33.  * is returned in "result".
  34.  */
  35. #define YY_INPUT(buf,result,max_size) \
  36.         result = fread( buf, 1, max_size, yyin ); \
  37.     if ( ferror(yyin) ) \
  38.         YY_FATAL_ERROR( "fread() in flex scanner failed" );
  39.  
  40. #define YY_NULL 0
  41. #define yyterminate() return ( YY_NULL )
  42.  
  43. /* report a fatal error */
  44. #define YY_FATAL_ERROR(msg) \
  45.     { \
  46.     fputs( msg, stderr ); \
  47.     putc( '\n', stderr ); \
  48.     exit( 1 ); \
  49.     }
  50.  
  51. /* default yywrap function - always treat EOF as an EOF */
  52. #define yywrap() 1
  53.  
  54. /* enter a start condition.  This macro really ought to take a parameter,
  55.  * but we do it the disgusting crufty way forced on us by the ()-less
  56.  * definition of BEGIN
  57.  */
  58. #define BEGIN yy_start = 1 + 2 *
  59.  
  60. /* action number for EOF rule of a given start state */
  61. #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  62.  
  63. /* special action meaning "start processing a new file" */
  64. #define YY_NEW_FILE goto new_file
  65.  
  66. /* default declaration of generated scanner - a define so the user can
  67.  * easily add parameters
  68.  */
  69. #ifdef __STDC__
  70. #define YY_DECL int yylex( void )
  71. #else
  72. #define YY_DECL int yylex()
  73. #endif
  74.  
  75. /* code executed at the end of each rule */
  76. #define YY_BREAK break;
  77.  
  78. #define YY_END_OF_BUFFER_CHAR 0
  79.  
  80. /* done after the current pattern has been matched and before the
  81.  * corresponding action - sets up yytext
  82.  */
  83. #define YY_DO_BEFORE_ACTION \
  84.     yytext = yy_bp; \
  85.     yy_hold_char = *yy_cp; \
  86.     *yy_cp = '\0'; \
  87.     yy_c_buf_p = yy_cp;
  88.  
  89. /* returns the length of the matched text */
  90. #define yyleng (yy_cp - yy_bp)
  91.  
  92. #define EOB_ACT_RESTART_SCAN 0
  93. #define EOB_ACT_END_OF_FILE 1
  94. #define EOB_ACT_LAST_MATCH 2
  95.  
  96. /* return all but the first 'n' matched characters back to the input stream */
  97. #define yyless(n) \
  98.     { \
  99.     *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
  100.     yy_c_buf_p = yy_cp = yy_bp + n; \
  101.     YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  102.     }
  103.  
  104. #define unput(c) yyunput( c, yy_bp )
  105.  
  106. #define YY_USER_ACTION
  107.  
  108. FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
  109. char *yytext;
  110.  
  111. #ifndef __STDC__
  112. #define const
  113. #endif
  114.  
  115. # line 1 "l.orblex"
  116. #define INITIAL 0
  117. # line 2 "l.orblex"
  118.  /*
  119.   * Module:        orbits.l
  120.   * Creation:      28th July, 1991.
  121.   * Last modified: 6th October, 1991.
  122.   *
  123.   * Copyright (C) 1991 Neil Hoggarth.
  124.   *
  125.   *     This file contains instructions to the "lex" lexical analyzer
  126.   * generator, or some compatible genarator. The file produced by the 
  127.   * generator contains C source code for the lexical analyzer for the
  128.   * "orbits" program.
  129.   *
  130.   *   This program is free software; you can redistribute it and/or modify
  131.   *   it under the terms of the GNU General Public License as published by
  132.   *   the Free Software Foundation; either version 1, or (at your option)
  133.   *   any later version.
  134.   *
  135.   *   This program is distributed in the hope that it will be useful,
  136.   *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  137.   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  138.   *   GNU General Public License for more details.
  139.   *
  140.   *   You should have received a copy of the GNU General Public License
  141.   *   along with this program; if not, write to the Free Software
  142.   *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  143.   *
  144.   */
  145.  
  146. #include <stdlib.h>
  147. #include "orbpar.h"
  148. extern int yyline;
  149. # line 35 "l.orblex"
  150. #define YY_END_OF_BUFFER 8
  151. typedef int yy_state_type;
  152. static const short int yy_accept[17] =
  153.     {   0,
  154.         0,    0,    8,    6,    4,    5,    6,    6,    6,    2,
  155.         0,    1,    0,    2,    3,    0
  156.     } ;
  157.  
  158. static const char yy_ec[128] =
  159.     {   0,
  160.         1,    1,    1,    1,    1,    1,    1,    1,    2,    3,
  161.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  162.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  163.         1,    2,    1,    1,    4,    1,    1,    1,    1,    1,
  164.         1,    1,    5,    1,    6,    7,    1,    8,    8,    8,
  165.         8,    8,    8,    8,    8,    8,    8,    1,    1,    1,
  166.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  167.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  168.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  169.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  170.  
  171.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  172.         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  173.         1,    1,    1,    1,    1,    1,    1
  174.     } ;
  175.  
  176. static const char yy_meta[9] =
  177.     {   0,
  178.         1,    1,    1,    1,    1,    1,    1,    1
  179.     } ;
  180.  
  181. static const short int yy_base[18] =
  182.     {   0,
  183.         0,    0,   17,   18,   18,   18,   13,    2,    7,    0,
  184.        11,   18,    5,    0,    4,   18,   10
  185.     } ;
  186.  
  187. static const short int yy_def[18] =
  188.     {   0,
  189.        16,    1,   16,   16,   16,   16,   17,   16,   16,    8,
  190.        17,   16,   16,    8,   16,    0,   16
  191.     } ;
  192.  
  193. static const short int yy_nxt[27] =
  194.     {   0,
  195.         4,    5,    6,    7,    8,    8,    9,   10,   13,   14,
  196.        11,   15,   15,   12,   15,   12,   16,    3,   16,   16,
  197.        16,   16,   16,   16,   16,   16
  198.     } ;
  199.  
  200. static const short int yy_chk[27] =
  201.     {   0,
  202.         1,    1,    1,    1,    1,    1,    1,    1,    8,    8,
  203.        17,   15,   13,   11,    9,    7,    3,   16,   16,   16,
  204.        16,   16,   16,   16,   16,   16
  205.     } ;
  206.  
  207. /* the intent behind this definition is that it'll catch
  208.  * any uses of REJECT which flex missed
  209.  */
  210. #define REJECT reject_used_but_not_detected
  211. #define yymore() yymore_used_but_not_detected
  212.  
  213. /* these variables are all declared out here so that section 3 code can
  214.  * manipulate them
  215.  */
  216. static char *yy_c_buf_p;    /* points to current character in buffer */
  217. static int yy_init = 1;        /* whether we need to initialize */
  218. static int yy_start = 0;    /* start state number */
  219.  
  220. /* true when we've seen an EOF for the current input file */
  221. static int yy_eof_has_been_seen;
  222.  
  223. static int yy_n_chars;        /* number of characters read into yy_ch_buf */
  224.  
  225. /* yy_ch_buf has to be 2 characters longer than YY_BUF_SIZE because we need
  226.  * to put in 2 end-of-buffer characters (this is explained where it is
  227.  * done) at the end of yy_ch_buf
  228.  */
  229. static char yy_ch_buf[YY_BUF_SIZE + 2];
  230.  
  231. /* yy_hold_char holds the character lost when yytext is formed */
  232. static char yy_hold_char;
  233.  
  234. static yy_state_type yy_last_accepting_state;
  235. static char *yy_last_accepting_cpos;
  236.  
  237. #ifdef __STDC__
  238. static yy_state_type yy_get_previous_state( void );
  239. static int yy_get_next_buffer( void );
  240. static void yyunput( int c, char *buf_ptr );
  241. static int input( void );
  242. static void yyrestart( FILE *input_file );
  243. #else
  244. static yy_state_type yy_get_previous_state();
  245. static int yy_get_next_buffer();
  246. static void yyunput();
  247. static int input();
  248. static void yyrestart();
  249. #endif
  250.  
  251. YY_DECL
  252.     {
  253.     register yy_state_type yy_current_state;
  254.     register char *yy_cp, *yy_bp;
  255.     register int yy_act;
  256.  
  257.  
  258.  
  259.  
  260.     if ( yy_init )
  261.     {
  262.     if ( ! yy_start )
  263.         yy_start = 1;    /* first start state */
  264.  
  265.     if ( ! yyin )
  266.         yyin = stdin;
  267.  
  268.     if ( ! yyout )
  269.         yyout = stdout;
  270.  
  271. new_file:
  272.     /* this is where we enter upon encountering an end-of-file and
  273.      * yywrap() indicating that we should continue processing
  274.      */
  275.  
  276.     /* we put in the '\n' and start reading from [1] so that an
  277.      * initial match-at-newline will be true.
  278.      */
  279.  
  280.     yy_ch_buf[0] = '\n';
  281.     yy_n_chars = 1;
  282.  
  283.     /* we always need two end-of-buffer characters.  The first causes
  284.      * a transition to the end-of-buffer state.  The second causes
  285.      * a jam in that state.
  286.      */
  287.     yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  288.     yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  289.  
  290.     yy_eof_has_been_seen = 0;
  291.  
  292.     yytext = yy_c_buf_p = &yy_ch_buf[1];
  293.     yy_hold_char = *yy_c_buf_p;
  294.     yy_init = 0;
  295.     }
  296.  
  297.     while ( 1 )        /* loops until end-of-file is reached */
  298.     {
  299.     yy_cp = yy_c_buf_p;
  300.  
  301.     /* support of yytext */
  302.     *yy_cp = yy_hold_char;
  303.  
  304.     /* yy_bp points to the position in yy_ch_buf of the start of the
  305.      * current run.
  306.      */
  307.     yy_bp = yy_cp;
  308.  
  309.     yy_current_state = yy_start;
  310.     do
  311.         {
  312.         register char yy_c = yy_ec[*yy_cp];
  313.         if ( yy_accept[yy_current_state] )
  314.         {
  315.         yy_last_accepting_state = yy_current_state;
  316.         yy_last_accepting_cpos = yy_cp;
  317.         }
  318.         while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  319.         {
  320.         yy_current_state = yy_def[yy_current_state];
  321.         if ( yy_current_state >= 17 )
  322.             yy_c = yy_meta[yy_c];
  323.         }
  324.         yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  325.         ++yy_cp;
  326.         }
  327.     while ( yy_current_state != 16 );
  328.     yy_cp = yy_last_accepting_cpos;
  329.     yy_current_state = yy_last_accepting_state;
  330.  
  331.     /* bogus while loop to let YY_BACK_TRACK, EOB_ACT_LAST_MATCH,
  332.      * and EOF actions branch here without introducing an optimizer-
  333.      * daunting goto
  334.      */
  335.     while ( 1 )
  336.         {
  337.         yy_act = yy_accept[yy_current_state];
  338.  
  339.         YY_DO_BEFORE_ACTION;
  340.         YY_USER_ACTION;
  341.  
  342. #ifdef FLEX_DEBUG
  343.         fprintf( stderr, "--accepting rule #%d (\"%s\")\n",
  344.              yy_act, yytext );
  345. #endif
  346.  
  347. do_action:    /* this label is used only to access EOF actions */
  348.         switch ( yy_act )
  349.         {
  350.         case 0: /* must backtrack */
  351.         /* undo the effects of YY_DO_BEFORE_ACTION */
  352.         *yy_cp = yy_hold_char;
  353.         yy_cp = yy_last_accepting_cpos;
  354.         yy_current_state = yy_last_accepting_state;
  355.         continue; /* go to "YY_DO_BEFORE_ACTION" */
  356.  
  357. case 1:
  358. # line 37 "l.orblex"
  359. {yyline++;return(RETURN);};
  360.     YY_BREAK
  361. case 2:
  362. # line 38 "l.orblex"
  363. return(NUM);
  364.     YY_BREAK
  365. case 3:
  366. # line 39 "l.orblex"
  367. return(NUM);
  368.     YY_BREAK
  369. case 4:
  370. # line 40 "l.orblex"
  371. ;
  372.     YY_BREAK
  373. case 5:
  374. # line 41 "l.orblex"
  375. {yyline++;return(RETURN);};
  376.     YY_BREAK
  377. case 6:
  378. # line 42 "l.orblex"
  379. return(yytext[0]);
  380.     YY_BREAK
  381. case 7:
  382. # line 44 "l.orblex"
  383. ECHO;
  384.     YY_BREAK
  385. case YY_STATE_EOF(INITIAL):
  386.     yyterminate();
  387.  
  388.         case YY_END_OF_BUFFER:
  389.             /* undo the effects of YY_DO_BEFORE_ACTION */
  390.             *yy_cp = yy_hold_char;
  391.  
  392.             yytext = yy_bp;
  393.  
  394.             switch ( yy_get_next_buffer() )
  395.             {
  396.             case EOB_ACT_END_OF_FILE:
  397.                 {
  398.                 if ( yywrap() )
  399.                 {
  400.                 /* note: because we've taken care in
  401.                  * yy_get_next_buffer() to have set up yytext,
  402.                  * we can now set up yy_c_buf_p so that if some
  403.                  * total hoser (like flex itself) wants
  404.                  * to call the scanner after we return the
  405.                  * YY_NULL, it'll still work - another YY_NULL
  406.                  * will get returned.
  407.                  */
  408.                 yy_c_buf_p = yytext;
  409.  
  410.                 yy_act = YY_STATE_EOF((yy_start - 1) / 2);
  411.                 goto do_action;
  412.                 }
  413.  
  414.                 else
  415.                 YY_NEW_FILE;
  416.                 }
  417.                 break;
  418.  
  419.             case EOB_ACT_RESTART_SCAN:
  420.                 yy_c_buf_p = yytext;
  421.                 yy_hold_char = *yy_c_buf_p;
  422.                 break;
  423.  
  424.             case EOB_ACT_LAST_MATCH:
  425.                 yy_c_buf_p = &yy_ch_buf[yy_n_chars];
  426.  
  427.                 yy_current_state = yy_get_previous_state();
  428.  
  429.                 yy_cp = yy_c_buf_p;
  430.                 yy_bp = yytext;
  431.                 continue; /* go to "YY_DO_BEFORE_ACTION" */
  432.             }
  433.             break;
  434.  
  435.         default:
  436.             printf( "action # %d\n", yy_act );
  437.             YY_FATAL_ERROR( "fatal flex scanner internal error" );
  438.         }
  439.  
  440.         break; /* exit bogus while loop */
  441.         }
  442.     }
  443.     }
  444.  
  445.  
  446. /* yy_get_next_buffer - try to read in new buffer
  447.  *
  448.  * synopsis
  449.  *     int yy_get_next_buffer();
  450.  *
  451.  * returns a code representing an action
  452.  *     EOB_ACT_LAST_MATCH -
  453.  *     EOB_ACT_RESTART_SCAN - restart the scanner
  454.  *     EOB_ACT_END_OF_FILE - end of file
  455.  */
  456.  
  457. static int yy_get_next_buffer()
  458.  
  459.     {
  460.     register char *dest = yy_ch_buf;
  461.     register char *source = yytext - 1; /* copy prev. char, too */
  462.     register int number_to_move, i;
  463.     int ret_val;
  464.  
  465.     if ( yy_c_buf_p != &yy_ch_buf[yy_n_chars + 1] )
  466.     {
  467.     YY_FATAL_ERROR( "NULL in input" );
  468.     /*NOTREACHED*/
  469.     }
  470.  
  471.     /* try to read more data */
  472.  
  473.     /* first move last chars to start of buffer */
  474.     number_to_move = yy_c_buf_p - yytext;
  475.  
  476.     for ( i = 0; i < number_to_move; ++i )
  477.     *(dest++) = *(source++);
  478.  
  479.     if ( yy_eof_has_been_seen )
  480.     /* don't do the read, it's not guaranteed to return an EOF,
  481.      * just force an EOF
  482.      */
  483.     yy_n_chars = 0;
  484.  
  485.     else
  486.     {
  487.     int num_to_read = YY_BUF_SIZE - number_to_move - 1;
  488.  
  489.     if ( num_to_read > YY_READ_BUF_SIZE )
  490.         num_to_read = YY_READ_BUF_SIZE;
  491.  
  492.     /* read in more data */
  493.     YY_INPUT( (&yy_ch_buf[number_to_move]), yy_n_chars, num_to_read );
  494.     }
  495.  
  496.     if ( yy_n_chars == 0 )
  497.     {
  498.     if ( number_to_move == 1 )
  499.         ret_val = EOB_ACT_END_OF_FILE;
  500.     else
  501.         ret_val = EOB_ACT_LAST_MATCH;
  502.  
  503.     yy_eof_has_been_seen = 1;
  504.     }
  505.  
  506.     else
  507.     ret_val = EOB_ACT_RESTART_SCAN;
  508.  
  509.     yy_n_chars += number_to_move;
  510.     yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  511.     yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  512.  
  513.     /* yytext begins at the second character in
  514.      * yy_ch_buf; the first character is the one which
  515.      * preceded it before reading in the latest buffer;
  516.      * it needs to be kept around in case it's a
  517.      * newline, so yy_get_previous_state() will have
  518.      * with '^' rules active
  519.      */
  520.  
  521.     yytext = &yy_ch_buf[1];
  522.  
  523.     return ( ret_val );
  524.     }
  525.  
  526.  
  527. /* yy_get_previous_state - get the state just before the EOB char was reached
  528.  *
  529.  * synopsis
  530.  *     yy_state_type yy_get_previous_state();
  531.  */
  532.  
  533. static yy_state_type yy_get_previous_state()
  534.  
  535.     {
  536.     register yy_state_type yy_current_state;
  537.     register char *yy_cp;
  538.  
  539.     yy_current_state = yy_start;
  540.  
  541.     for ( yy_cp = yytext; yy_cp < yy_c_buf_p; ++yy_cp )
  542.     {
  543.     register char yy_c = yy_ec[*yy_cp];
  544.     if ( yy_accept[yy_current_state] )
  545.         {
  546.         yy_last_accepting_state = yy_current_state;
  547.         yy_last_accepting_cpos = yy_cp;
  548.         }
  549.     while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  550.         {
  551.         yy_current_state = yy_def[yy_current_state];
  552.         if ( yy_current_state >= 17 )
  553.         yy_c = yy_meta[yy_c];
  554.         }
  555.     yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  556.     }
  557.  
  558.     return ( yy_current_state );
  559.     }
  560.  
  561.  
  562. #ifdef __STDC__
  563. static void yyunput( int c, register char *yy_bp )
  564. #else
  565. static void yyunput( c, yy_bp )
  566. int c;
  567. register char *yy_bp;
  568. #endif
  569.  
  570.     {
  571.     register char *yy_cp = yy_c_buf_p;
  572.  
  573.     *yy_cp = yy_hold_char; /* undo effects of setting up yytext */
  574.  
  575.     if ( yy_cp < yy_ch_buf + 2 )
  576.     { /* need to shift things up to make room */
  577.     register int number_to_move = yy_n_chars + 2; /* +2 for EOB chars */
  578.     register char *dest = &yy_ch_buf[YY_BUF_SIZE + 2];
  579.     register char *source = &yy_ch_buf[number_to_move];
  580.  
  581.     while ( source > yy_ch_buf )
  582.         *--dest = *--source;
  583.  
  584.     yy_cp += dest - source;
  585.     yy_bp += dest - source;
  586.  
  587.     if ( yy_cp < yy_ch_buf + 2 )
  588.         YY_FATAL_ERROR( "flex scanner push-back overflow" );
  589.     }
  590.  
  591.     if ( yy_cp > yy_bp && yy_cp[-1] == '\n' )
  592.     yy_cp[-2] = '\n';
  593.  
  594.     *--yy_cp = c;
  595.  
  596.     YY_DO_BEFORE_ACTION; /* set up yytext again */
  597.     }
  598.  
  599.  
  600. static int input()
  601.  
  602.     {
  603.     int c;
  604.     char *yy_cp = yy_c_buf_p;
  605.  
  606.     *yy_cp = yy_hold_char;
  607.  
  608.     if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
  609.     { /* need more input */
  610.     yytext = yy_c_buf_p;
  611.     ++yy_c_buf_p;
  612.  
  613.     switch ( yy_get_next_buffer() )
  614.         {
  615.         /* this code, unfortunately, is somewhat redundant with
  616.          * that above
  617.          */
  618.         case EOB_ACT_END_OF_FILE:
  619.         {
  620.         if ( yywrap() )
  621.             {
  622.             yy_c_buf_p = yytext;
  623.             return ( EOF );
  624.             }
  625.  
  626.         yy_ch_buf[0] = '\n';
  627.         yy_n_chars = 1;
  628.         yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  629.         yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  630.         yy_eof_has_been_seen = 0;
  631.         yytext = yy_c_buf_p = &yy_ch_buf[1];
  632.         yy_hold_char = *yy_c_buf_p;
  633.  
  634.         return ( input() );
  635.         }
  636.         break;
  637.  
  638.         case EOB_ACT_RESTART_SCAN:
  639.         yy_c_buf_p = yytext;
  640.         break;
  641.  
  642.         case EOB_ACT_LAST_MATCH:
  643.         YY_FATAL_ERROR( "unexpected last match in input()" );
  644.         }
  645.     }
  646.  
  647.     c = *yy_c_buf_p;
  648.     yy_hold_char = *++yy_c_buf_p;
  649.  
  650.     return ( c );
  651.     }
  652.  
  653.  
  654. #ifdef __STDC__
  655. static void yyrestart( FILE *input_file )
  656. #else
  657. static void yyrestart( input_file )
  658. FILE *input_file;
  659. #endif
  660.  
  661.     {
  662.     if ( yyin != stdin )
  663.     fclose( yyin );
  664.  
  665.     yyin = input_file;
  666.     yy_init = 1;
  667.     }
  668. # line 44 "l.orblex"
  669.  
  670.