fixes for latest flex

This commit is contained in:
Bill Currie 2003-04-16 19:41:52 +00:00
parent ce44d350b7
commit 7ca2aae6f0

View file

@ -57,10 +57,28 @@ static __attribute__ ((unused)) const char rcsid[] =
#include "type.h"
#include "qc-parse.h"
#ifndef YY_PROTO
# define YY_PROTO(x) x
#else
# define YY_FLEX_REALLOC_HACK
#endif
int yyget_lineno (void);
FILE *yyget_in (void);
FILE *yyget_out (void);
int yyget_leng (void);
char *yyget_text (void);
void yyset_lineno (int line_number);
void yyset_in (FILE * in_str);
void yyset_out (FILE * out_str);
int yyget_debug (void);
void yyset_debug (int bdebug);
int yylex_destroy (void);
#define YY_NO_UNPUT
#define YY_DECL int yylex YY_PROTO(( void ))
YY_DECL;
int type_or_name (char *token);
int do_grab (char *token);
@ -621,4 +639,6 @@ make_string (char *token)
return save_string (str->str);
}
#ifdef YY_FLEX_REALLOC_HACK
static void *(*const yy_flex_realloc_hack)(void *,yy_size_t) = yy_flex_realloc;
#endif