home *** CD-ROM | disk | FTP | other *** search
- *** flex.skel.orig Tue May 31 16:32:11 1988
- --- flex.skel Tue May 31 16:35:25 1988
- ***************
- *** 12,18
- /* these variables are all declared out here so that section 3 code can
- * manipulate them
- */
- ! static int yy_start, yy_b_buf_p, yy_c_buf_p, yy_e_buf_p;
- static int yy_saw_eof, yy_init = 1;
-
- /* yy_ch_buf has to be 1 character longer than YY_BUF_SIZE, since when
-
- --- 12,18 -----
- /* these variables are all declared out here so that section 3 code can
- * manipulate them
- */
- ! static int yy_start = 0, yy_b_buf_p, yy_c_buf_p, yy_e_buf_p;
- static int yy_saw_eof, yy_init = 1;
-
- /* yy_ch_buf has to be 1 character longer than YY_BUF_SIZE, since when
- ***************
- *** 28,33
- YY_DECL
- {
- int yy_n_chars, yy_lp, yy_iii, yy_buf_pos, yy_act;
-
- %% user's declarations go here
-
-
- --- 28,36 -----
- YY_DECL
- {
- int yy_n_chars, yy_lp, yy_iii, yy_buf_pos, yy_act;
- + #ifdef FLEX_REJECT_ENABLED
- + int yy_full_match;
- + #endif
-
- %% user's declarations go here
-
- ***************
- *** 34,40
- if ( yy_init )
- {
- YY_INIT;
- ! yy_start = 1;
- yy_init = 0;
- }
-
-
- --- 37,43 -----
- if ( yy_init )
- {
- YY_INIT;
- ! if (!yy_start) yy_start = 1;
- yy_init = 0;
- }
-
- ***************
- *** 41,46
- goto get_next_token;
-
- do_action:
- for ( ; ; )
- {
- YY_DO_BEFORE_ACTION
-
- --- 44,55 -----
- goto get_next_token;
-
- do_action:
- +
- + #ifdef FLEX_REJECT_ENABLED
- + /* remember matched text in case we back up due to trailing context */
- + yy_full_match = yy_c_buf_p;
- + #endif
- +
- for ( ; ; )
- {
- YY_DO_BEFORE_ACTION
-