diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-04-24 05:57:58 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-04-24 05:57:58 +0000 |
commit | 77f24235cc588f5cb7554ead16f1f06fdcb39c98 (patch) | |
tree | bcf1704b7908b38bbdc26858eab775af2e2fd7de /Build/source/utils | |
parent | 1b5a2b603c2cf0f0bb4876a2769438f6f31a8fff (diff) |
tex2xindy.c: regenerated with flex 2.5.35
git-svn-id: svn://tug.org/texlive/trunk@7622 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rw-r--r-- | Build/source/utils/xindy/tex2xindy/tex2xindy.c | 49 |
1 files changed, 36 insertions, 13 deletions
diff --git a/Build/source/utils/xindy/tex2xindy/tex2xindy.c b/Build/source/utils/xindy/tex2xindy/tex2xindy.c index 28f508beaba..f3865da7be0 100644 --- a/Build/source/utils/xindy/tex2xindy/tex2xindy.c +++ b/Build/source/utils/xindy/tex2xindy/tex2xindy.c @@ -8,7 +8,7 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 34 +#define YY_FLEX_SUBMINOR_VERSION 35 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -53,7 +53,6 @@ typedef int flex_int32_t; typedef unsigned char flex_uint8_t; typedef unsigned short int flex_uint16_t; typedef unsigned int flex_uint32_t; -#endif /* ! C99 */ /* Limits of integral types. */ #ifndef INT8_MIN @@ -84,6 +83,8 @@ typedef unsigned int flex_uint32_t; #define UINT32_MAX (4294967295U) #endif +#endif /* ! C99 */ + #endif /* ! FLEXINT_H */ #ifdef __cplusplus @@ -178,13 +179,6 @@ extern FILE *yyin, *yyout; #define unput(c) yyunput( c, (yytext_ptr) ) -/* The following is because we cannot portably get our hands on size_t - * (without autoconf's help, which isn't available because we want - * flex-generated scanners to compile on their own). - * Given that the standard has decreed that size_t exists since 1989, - * I guess we can afford to depend on it. Manoj. - */ - #ifndef YY_TYPEDEF_YY_SIZE_T #define YY_TYPEDEF_YY_SIZE_T typedef size_t yy_size_t; @@ -742,7 +736,7 @@ void omega_output_utf8 ( int width ) } -#line 746 "tex2xindy.c" +#line 740 "tex2xindy.c" #define INITIAL 0 #define key 1 @@ -768,6 +762,35 @@ void omega_output_utf8 ( int width ) static int yy_init_globals (void ); +/* Accessor methods to globals. + These are made visible to non-reentrant scanners for convenience. */ + +int yylex_destroy (void ); + +int yyget_debug (void ); + +void yyset_debug (int debug_flag ); + +YY_EXTRA_TYPE yyget_extra (void ); + +void yyset_extra (YY_EXTRA_TYPE user_defined ); + +FILE *yyget_in (void ); + +void yyset_in (FILE * in_str ); + +FILE *yyget_out (void ); + +void yyset_out (FILE * out_str ); + +int yyget_leng (void ); + +char *yyget_text (void ); + +int yyget_lineno (void ); + +void yyset_lineno (int line_number ); + /* Macros after this point can all be overridden by user definitions in * section 1. */ @@ -821,7 +844,7 @@ static int input (void ); if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ - int n; \ + size_t n; \ for ( n = 0; n < max_size && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ @@ -906,7 +929,7 @@ YY_DECL #line 207 "tex2xindy.l" -#line 910 "tex2xindy.c" +#line 933 "tex2xindy.c" if ( !(yy_init) ) { @@ -1279,7 +1302,7 @@ YY_RULE_SETUP #line 363 "tex2xindy.l" ECHO; YY_BREAK -#line 1283 "tex2xindy.c" +#line 1306 "tex2xindy.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(key): case YY_STATE_EOF(print): |