Commit 5d1397ef authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] regen

parent e95f32eb
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
#define FLEX_SCANNER #define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 5 #define YY_FLEX_MINOR_VERSION 6
#define YY_FLEX_SUBMINOR_VERSION 35 #define YY_FLEX_SUBMINOR_VERSION 0
#if YY_FLEX_SUBMINOR_VERSION > 0 #if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA #define FLEX_BETA
#endif #endif
...@@ -72,7 +72,6 @@ typedef int16_t flex_int16_t; ...@@ -72,7 +72,6 @@ typedef int16_t flex_int16_t;
typedef uint16_t flex_uint16_t; typedef uint16_t flex_uint16_t;
typedef int32_t flex_int32_t; typedef int32_t flex_int32_t;
typedef uint32_t flex_uint32_t; typedef uint32_t flex_uint32_t;
typedef uint64_t flex_uint64_t;
#else #else
typedef signed char flex_int8_t; typedef signed char flex_int8_t;
typedef short int flex_int16_t; typedef short int flex_int16_t;
...@@ -80,7 +79,6 @@ typedef int flex_int32_t; ...@@ -80,7 +79,6 @@ typedef int flex_int32_t;
typedef unsigned char flex_uint8_t; typedef unsigned char flex_uint8_t;
typedef unsigned short int flex_uint16_t; typedef unsigned short int flex_uint16_t;
typedef unsigned int flex_uint32_t; typedef unsigned int flex_uint32_t;
#endif /* ! C99 */
/* Limits of integral types. */ /* Limits of integral types. */
#ifndef INT8_MIN #ifndef INT8_MIN
...@@ -111,6 +109,8 @@ typedef unsigned int flex_uint32_t; ...@@ -111,6 +109,8 @@ typedef unsigned int flex_uint32_t;
#define UINT32_MAX (4294967295U) #define UINT32_MAX (4294967295U)
#endif #endif
#endif /* ! C99 */
#endif /* ! FLEXINT_H */ #endif /* ! FLEXINT_H */
/* %endif */ /* %endif */
...@@ -185,7 +185,15 @@ typedef unsigned int flex_uint32_t; ...@@ -185,7 +185,15 @@ typedef unsigned int flex_uint32_t;
/* Size of default input buffer. */ /* Size of default input buffer. */
#ifndef YY_BUF_SIZE #ifndef YY_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k.
* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
* Ditto for the __ia64__ case accordingly.
*/
#define YY_BUF_SIZE 32768
#else
#define YY_BUF_SIZE 16384 #define YY_BUF_SIZE 16384
#endif /* __ia64__ */
#endif #endif
/* The state buf must be large enough to hold one state per character in the main buffer. /* The state buf must be large enough to hold one state per character in the main buffer.
...@@ -225,11 +233,18 @@ extern FILE *yyin, *yyout; ...@@ -225,11 +233,18 @@ extern FILE *yyin, *yyout;
*/ */
#define YY_LESS_LINENO(n) \ #define YY_LESS_LINENO(n) \
do { \ do { \
yy_size_t yyl;\ int yyl;\
for ( yyl = n; yyl < yyleng; ++yyl )\ for ( yyl = n; yyl < yyleng; ++yyl )\
if ( yytext[yyl] == '\n' )\ if ( yytext[yyl] == '\n' )\
--yylineno;\ --yylineno;\
}while(0) }while(0)
#define YY_LINENO_REWIND_TO(dst) \
do {\
const char *p;\
for ( p = yy_cp-1; p >= (dst); --p)\
if ( *p == '\n' )\
--yylineno;\
}while(0)
/* Return all but the first "n" matched characters back to the input stream. */ /* Return all but the first "n" matched characters back to the input stream. */
#define yyless(n) \ #define yyless(n) \
...@@ -420,7 +435,7 @@ void yyfree (void * ); ...@@ -420,7 +435,7 @@ void yyfree (void * );
/* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */ /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
/* Begin user sect3 */ /* Begin user sect3 */
#define yywrap(n) 1 #define yywrap() (/*CONSTCOND*/1)
#define YY_SKIP_YYWRAP #define YY_SKIP_YYWRAP
#define FLEX_DEBUG #define FLEX_DEBUG
...@@ -436,13 +451,21 @@ extern int yylineno; ...@@ -436,13 +451,21 @@ extern int yylineno;
int yylineno = 1; int yylineno = 1;
extern char *yytext; extern char *yytext;
#ifdef yytext_ptr
#undef yytext_ptr
#endif
#define yytext_ptr yytext #define yytext_ptr yytext
/* %% [1.5] DFA */
/* %if-c-only Standard (non-C++) definition */ /* %if-c-only Standard (non-C++) definition */
static yy_state_type yy_get_previous_state (void ); static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void ); static int yy_get_next_buffer (void );
#if defined(__GNUC__) && __GNUC__ >= 3
__attribute__((__noreturn__))
#endif
static void yy_fatal_error (yyconst char msg[] ); static void yy_fatal_error (yyconst char msg[] );
/* %endif */ /* %endif */
...@@ -453,7 +476,7 @@ static void yy_fatal_error (yyconst char msg[] ); ...@@ -453,7 +476,7 @@ static void yy_fatal_error (yyconst char msg[] );
#define YY_DO_BEFORE_ACTION \ #define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \ (yytext_ptr) = yy_bp; \
/* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\ /* %% [2.0] code to fiddle yytext and yyleng for yymore() goes here \ */\
yyleng = (yy_size_t) (yy_cp - yy_bp); \ yyleng = (size_t) (yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \ (yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \ *yy_cp = '\0'; \
/* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\ /* %% [3.0] code to copy yytext_ptr to yytext[] goes here, if %array \ */\
...@@ -520,7 +543,7 @@ static yyconst flex_int16_t yy_accept[162] = ...@@ -520,7 +543,7 @@ static yyconst flex_int16_t yy_accept[162] =
227 227
} ; } ;
static yyconst flex_int32_t yy_ec[256] = static yyconst YY_CHAR yy_ec[256] =
{ 0, { 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
...@@ -552,7 +575,7 @@ static yyconst flex_int32_t yy_ec[256] = ...@@ -552,7 +575,7 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1 1, 1, 1, 1, 1
} ; } ;
static yyconst flex_int32_t yy_meta[42] = static yyconst YY_CHAR yy_meta[42] =
{ 0, { 0,
1, 1, 2, 1, 1, 1, 1, 1, 3, 4, 1, 1, 2, 1, 1, 1, 1, 1, 3, 4,
4, 4, 4, 5, 1, 4, 1, 1, 1, 1, 4, 4, 4, 5, 1, 4, 1, 1, 1, 1,
...@@ -561,7 +584,7 @@ static yyconst flex_int32_t yy_meta[42] = ...@@ -561,7 +584,7 @@ static yyconst flex_int32_t yy_meta[42] =
1 1
} ; } ;
static yyconst flex_int16_t yy_base[166] = static yyconst flex_uint16_t yy_base[166] =
{ 0, { 0,
0, 0, 267, 268, 264, 262, 260, 268, 268, 268, 0, 0, 267, 268, 264, 262, 260, 268, 268, 268,
32, 268, 37, 34, 249, 247, 76, 108, 268, 268, 32, 268, 37, 34, 249, 247, 76, 108, 268, 268,
...@@ -605,7 +628,7 @@ static yyconst flex_int16_t yy_def[166] = ...@@ -605,7 +628,7 @@ static yyconst flex_int16_t yy_def[166] =
160, 160, 160, 160, 160 160, 160, 160, 160, 160
} ; } ;
static yyconst flex_int16_t yy_nxt[310] = static yyconst flex_uint16_t yy_nxt[310] =
{ 0, { 0,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 14, 14, 15, 16, 17, 18, 18, 19, 20, 14, 14, 14, 15, 16, 17, 18, 18, 19, 20,
...@@ -775,7 +798,7 @@ static isc::eval::location loc; ...@@ -775,7 +798,7 @@ static isc::eval::location loc;
// by moving it ahead by yyleng bytes. yyleng specifies the length of the // by moving it ahead by yyleng bytes. yyleng specifies the length of the
// currently matched token. // currently matched token.
#define YY_USER_ACTION loc.columns(yyleng); #define YY_USER_ACTION loc.columns(yyleng);
#line 779 "lexer.cc" #line 802 "lexer.cc"
#define INITIAL 0 #define INITIAL 0
...@@ -821,11 +844,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ); ...@@ -821,11 +844,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined );
FILE *yyget_in (void ); FILE *yyget_in (void );
void yyset_in (FILE * in_str ); void yyset_in (FILE * _in_str );
FILE *yyget_out (void ); FILE *yyget_out (void );
void yyset_out (FILE * out_str ); void yyset_out (FILE * _out_str );
yy_size_t yyget_leng (void ); yy_size_t yyget_leng (void );
...@@ -833,7 +856,7 @@ char *yyget_text (void ); ...@@ -833,7 +856,7 @@ char *yyget_text (void );
int yyget_lineno (void ); int yyget_lineno (void );
void yyset_lineno (int line_number ); void yyset_lineno (int _line_number );
/* %if-bison-bridge */ /* %if-bison-bridge */
/* %endif */ /* %endif */
...@@ -852,6 +875,9 @@ extern int yywrap (void ); ...@@ -852,6 +875,9 @@ extern int yywrap (void );
/* %not-for-header */ /* %not-for-header */
#ifndef YY_NO_UNPUT
#endif
/* %ok-for-header */ /* %ok-for-header */
/* %endif */ /* %endif */
...@@ -884,7 +910,12 @@ static int input (void ); ...@@ -884,7 +910,12 @@ static int input (void );
/* Amount of stuff to slurp up with each read. */ /* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE #ifndef YY_READ_BUF_SIZE
#ifdef __ia64__
/* On IA-64, the buffer size is 16k, not 8k */
#define YY_READ_BUF_SIZE 16384
#else
#define YY_READ_BUF_SIZE 8192 #define YY_READ_BUF_SIZE 8192
#endif /* __ia64__ */
#endif #endif
/* Copy whatever the last rule matched to the standard output. */ /* Copy whatever the last rule matched to the standard output. */
...@@ -893,7 +924,7 @@ static int input (void ); ...@@ -893,7 +924,7 @@ static int input (void );
/* This used to be an fputs(), but since the string might contain NUL's, /* This used to be an fputs(), but since the string might contain NUL's,
* we now use fwrite(). * we now use fwrite().
*/ */
#define ECHO fwrite( yytext, yyleng, 1, yyout ) #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
/* %endif */ /* %endif */
/* %if-c++-only C++ definition */ /* %if-c++-only C++ definition */
/* %endif */ /* %endif */
...@@ -908,7 +939,7 @@ static int input (void ); ...@@ -908,7 +939,7 @@ static int input (void );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \ { \
int c = '*'; \ int c = '*'; \
yy_size_t n; \ size_t n; \
for ( n = 0; n < max_size && \ for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \ buf[n] = (char) c; \
...@@ -997,7 +1028,7 @@ extern int yylex (void); ...@@ -997,7 +1028,7 @@ extern int yylex (void);
/* Code executed at the end of each rule. */ /* Code executed at the end of each rule. */
#ifndef YY_BREAK #ifndef YY_BREAK
#define YY_BREAK break; #define YY_BREAK /*LINTED*/break;
#endif #endif
/* %% [6.0] YY_RULE_SETUP definition goes here */ /* %% [6.0] YY_RULE_SETUP definition goes here */
...@@ -1010,21 +1041,10 @@ extern int yylex (void); ...@@ -1010,21 +1041,10 @@ extern int yylex (void);
*/ */
YY_DECL YY_DECL
{ {
register yy_state_type yy_current_state; yy_state_type yy_current_state;
register char *yy_cp, *yy_bp; char *yy_cp, *yy_bp;
register int yy_act; int yy_act;
/* %% [7.0] user's declarations go here */
#line 75 "lexer.ll"
// Code run each time yylex is called.
loc.step();
#line 1027 "lexer.cc"
if ( !(yy_init) ) if ( !(yy_init) )
{ {
(yy_init) = 1; (yy_init) = 1;
...@@ -1065,7 +1085,19 @@ YY_DECL ...@@ -1065,7 +1085,19 @@ YY_DECL
yy_load_buffer_state( ); yy_load_buffer_state( );
} }
while ( 1 ) /* loops until end-of-file is reached */ {
/* %% [7.0] user's declarations go here */
#line 75 "lexer.ll"
// Code run each time yylex is called.
loc.step();
#line 1099 "lexer.cc"
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{ {
/* %% [8.0] yymore()-related code goes here */ /* %% [8.0] yymore()-related code goes here */
yy_cp = (yy_c_buf_p); yy_cp = (yy_c_buf_p);
...@@ -1087,7 +1119,7 @@ YY_DECL ...@@ -1087,7 +1119,7 @@ YY_DECL
yy_match: yy_match:
do do
{ {
register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{ {
yy_current_state = (int) yy_def[yy_current_state]; yy_current_state = (int) yy_def[yy_current_state];
...@@ -1104,7 +1136,6 @@ yy_find_action: ...@@ -1104,7 +1136,6 @@ yy_find_action:
/* %% [10.0] code to find the action number goes here */ /* %% [10.0] code to find the action number goes here */
yy_current_state = *--(yy_state_ptr); yy_current_state = *--(yy_state_ptr);
(yy_lp) = yy_accept[yy_current_state]; (yy_lp) = yy_accept[yy_current_state];
goto find_rule; /* Shut up GCC warning -Wall */
find_rule: /* we branch to this label when backing up */ find_rule: /* we branch to this label when backing up */
for ( ; ; ) /* until we find what rule we matched */ for ( ; ; ) /* until we find what rule we matched */
{ {
...@@ -1436,7 +1467,7 @@ YY_RULE_SETUP ...@@ -1436,7 +1467,7 @@ YY_RULE_SETUP
#line 179 "lexer.ll" #line 179 "lexer.ll"
ECHO; ECHO;
YY_BREAK YY_BREAK
#line 1440 "lexer.cc" #line 1471 "lexer.cc"
case YY_END_OF_BUFFER: case YY_END_OF_BUFFER:
{ {
...@@ -1459,7 +1490,11 @@ ECHO; ...@@ -1459,7 +1490,11 @@ ECHO;
* back-up) that will match for the new input source. * back-up) that will match for the new input source.
*/ */
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
/* %if-c-only */
YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
/* %endif */
/* %if-c++-only */
/* %endif */
YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
} }
...@@ -1566,6 +1601,7 @@ ECHO; ...@@ -1566,6 +1601,7 @@ ECHO;
"fatal flex scanner internal error--no action found" ); "fatal flex scanner internal error--no action found" );
} /* end of action switch */ } /* end of action switch */
} /* end of scanning one token */ } /* end of scanning one token */
} /* end of user's declarations */
} /* end of yylex */ } /* end of yylex */
/* %ok-for-header */ /* %ok-for-header */
...@@ -1589,9 +1625,9 @@ static int yy_get_next_buffer (void) ...@@ -1589,9 +1625,9 @@ static int yy_get_next_buffer (void)
/* %if-c++-only */ /* %if-c++-only */
/* %endif */ /* %endif */
{ {
register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
register char *source = (yytext_ptr); char *source = (yytext_ptr);
register int number_to_move, i; yy_size_t number_to_move, i;
int ret_val; int ret_val;
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
...@@ -1620,7 +1656,7 @@ static int yy_get_next_buffer (void) ...@@ -1620,7 +1656,7 @@ static int yy_get_next_buffer (void)
/* Try to read more data. */ /* Try to read more data. */
/* First move last chars to start of buffer. */ /* First move last chars to start of buffer. */
number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
for ( i = 0; i < number_to_move; ++i ) for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++); *(dest++) = *(source++);
...@@ -1700,8 +1736,8 @@ static int yy_get_next_buffer (void) ...@@ -1700,8 +1736,8 @@ static int yy_get_next_buffer (void)
/* %if-c++-only */ /* %if-c++-only */
/* %endif */ /* %endif */
{ {
register yy_state_type yy_current_state; yy_state_type yy_current_state;
register char *yy_cp; char *yy_cp;
/* %% [15.0] code to get the start state into yy_current_state goes here */ /* %% [15.0] code to get the start state into yy_current_state goes here */
yy_current_state = (yy_start); yy_current_state = (yy_start);
...@@ -1712,7 +1748,7 @@ static int yy_get_next_buffer (void) ...@@ -1712,7 +1748,7 @@ static int yy_get_next_buffer (void)
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
{ {
/* %% [16.0] code to find the next state goes here */ /* %% [16.0] code to find the next state goes here */
register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{ {
yy_current_state = (int) yy_def[yy_current_state]; yy_current_state = (int) yy_def[yy_current_state];
...@@ -1737,10 +1773,10 @@ static int yy_get_next_buffer (void) ...@@ -1737,10 +1773,10 @@ static int yy_get_next_buffer (void)
/* %if-c++-only */ /* %if-c++-only */
/* %endif */ /* %endif */
{ {
register int yy_is_jam; int yy_is_jam;
/* %% [17.0] code to find the next state, and perhaps do backing up, goes here */ /* %% [17.0] code to find the next state, and perhaps do backing up, goes here */
register YY_CHAR yy_c = 1; YY_CHAR yy_c = 1;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{ {
yy_current_state = (int) yy_def[yy_current_state]; yy_current_state = (int) yy_def[yy_current_state];
...@@ -1752,12 +1788,14 @@ static int yy_get_next_buffer (void) ...@@ -1752,12 +1788,14 @@ static int yy_get_next_buffer (void)
if ( ! yy_is_jam ) if ( ! yy_is_jam )
*(yy_state_ptr)++ = yy_current_state; *(yy_state_ptr)++ = yy_current_state;
return yy_is_jam ? 0 : yy_current_state; return yy_is_jam ? 0 : yy_current_state;
} }
#ifndef YY_NO_UNPUT
/* %if-c-only */ /* %if-c-only */
/* %endif */ /* %endif */
#endif
/* %if-c-only */ /* %if-c-only */
#ifndef YY_NO_INPUT #ifndef YY_NO_INPUT
...@@ -1811,7 +1849,7 @@ static int yy_get_next_buffer (void) ...@@ -1811,7 +1849,7 @@ static int yy_get_next_buffer (void)
case EOB_ACT_END_OF_FILE: case EOB_ACT_END_OF_FILE:
{ {
if ( yywrap( ) ) if ( yywrap( ) )
return 0; return EOF;
if ( ! (yy_did_buffer_switch_on_eof) ) if ( ! (yy_did_buffer_switch_on_eof) )
YY_NEW_FILE; YY_NEW_FILE;
...@@ -1867,6 +1905,9 @@ static int yy_get_next_buffer (void) ...@@ -1867,6 +1905,9 @@ static int yy_get_next_buffer (void)
yy_load_buffer_state( ); yy_load_buffer_state( );
} }
/* %if-c++-only */
/* %endif */
/** Switch to a different input buffer. /** Switch to a different input buffer.
* @param new_buffer The new input buffer. * @param new_buffer The new input buffer.
* *
...@@ -1914,7 +1955,11 @@ static void yy_load_buffer_state (void) ...@@ -1914,7 +1955,11 @@ static void yy_load_buffer_state (void)
{ {
(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
/* %if-c-only */
yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
/* %endif */
/* %if-c++-only */
/* %endif */
(yy_hold_char) = *(yy_c_buf_p); (yy_hold_char) = *(yy_c_buf_p);
} }
...@@ -1936,7 +1981,7 @@ static void yy_load_buffer_state (void) ...@@ -1936,7 +1981,7 @@ static void yy_load_buffer_state (void)
if ( ! b ) if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_buf_size = size; b->yy_buf_size = (yy_size_t)size;
/* yy_ch_buf has to be 2 characters longer than the size given because /* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters. * we need to put in 2 end-of-buffer characters.
...@@ -1952,6 +1997,9 @@ static void yy_load_buffer_state (void) ...@@ -1952,6 +1997,9 @@ static void yy_load_buffer_state (void)
return b; return b;
} }
/* %if-c++-only */
/* %endif */
/** Destroy the buffer. /** Destroy the buffer.
* @param b a buffer created with yy_create_buffer() * @param b a buffer created with yy_create_buffer()
* *
...@@ -1975,17 +2023,6 @@ static void yy_load_buffer_state (void) ...@@ -1975,17 +2023,6 @@ static void yy_load_buffer_state (void)
yyfree((void *) b ); yyfree((void *) b );
} }
/* %if-c-only */
#ifndef __cplusplus
extern int isatty (int );
#endif /* __cplusplus */
/* %endif */
/* %if-c++-only */
/* %endif */
/* Initializes or reinitializes a buffer.