From 137b56a5c65d26eec13dede7b8f398611aaa008d Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 28 Mar 2014 12:31:56 +0000 Subject: flex 2.5.39 git-svn-id: svn://tug.org/texlive/trunk@33311 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/detex/detex-2.8/detex.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'Build/source/texk/detex') diff --git a/Build/source/texk/detex/detex-2.8/detex.c b/Build/source/texk/detex/detex-2.8/detex.c index bc9a5b60a90..ea731990a7a 100644 --- a/Build/source/texk/detex/detex-2.8/detex.c +++ b/Build/source/texk/detex/detex-2.8/detex.c @@ -99,7 +99,7 @@ static char rcsid[] = "$Header: /p/src/local/bin/detex/RCS/detex.l,v 2.22 2007/0 #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 37 +#define YY_FLEX_SUBMINOR_VERSION 39 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -258,6 +258,7 @@ extern FILE *yyin, *yyout; #define EOB_ACT_LAST_MATCH 2 #define YY_LESS_LINENO(n) + #define YY_LINENO_REWIND_TO(ptr) /* Return all but the first "n" matched characters back to the input stream. */ #define yyless(n) \ @@ -1626,7 +1627,7 @@ int csb = 0; /* depth of flex context stack */ -#line 1630 "detex.c" +#line 1631 "detex.c" #define INITIAL 0 #define Define 1 @@ -1828,10 +1829,6 @@ YY_DECL register char *yy_cp, *yy_bp; register int yy_act; -#line 182 "detex.l" - -#line 1834 "detex.c" - if ( !(yy_init) ) { (yy_init) = 1; @@ -1858,6 +1855,11 @@ YY_DECL yy_load_buffer_state( ); } + { +#line 182 "detex.l" + +#line 1862 "detex.c" + while ( 1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -1874,7 +1876,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -2706,7 +2708,7 @@ YY_RULE_SETUP #line 411 "detex.l" ECHO; YY_BREAK -#line 2710 "detex.c" +#line 2712 "detex.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(Define): case YY_STATE_EOF(Display): @@ -2858,6 +2860,7 @@ case YY_STATE_EOF(LaPicture): "fatal flex scanner internal error--no action found" ); } /* end of action switch */ } /* end of scanning one token */ + } /* end of user's declarations */ } /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer @@ -3491,7 +3494,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len YY_BUFFER_STATE b; char *buf; yy_size_t n; - int i; + yy_size_t i; /* Get memory for full buffer, including space for trailing EOB's. */ n = _yybytes_len + 2; -- cgit v1.2.3