Remove YY_NO defines that cause warnings.
This commit is contained in:
parent
5d210af9dc
commit
1e96455094
|
@ -172,8 +172,6 @@ ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL]
|
|||
#error Must use flex version 2.5.1 or higher (yy_scan_* routines are required).
|
||||
#endif
|
||||
|
||||
#define YY_USE_PROTOS
|
||||
#define YY_NO_UNPUT
|
||||
#define YY_READ_BUF_SIZE 65536 /* So we read most of a file at once */
|
||||
|
||||
#define yy_current_state() YY_START
|
||||
|
|
|
@ -70,8 +70,6 @@ static size_t last_line_idx = 0;
|
|||
if ((result = read_input("Wine-dbg>", buf, max_size)) < 0) \
|
||||
YY_FATAL_ERROR("read_input in flex scanner failed");
|
||||
|
||||
#define YY_NO_UNPUT
|
||||
|
||||
static int syntax_error;
|
||||
%}
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ struct lexret yylval;
|
|||
#define YY_INPUT(buf,result,max_size)\
|
||||
if ((result = *macroptr ? 1 : 0)) buf[0] = *macroptr++;
|
||||
|
||||
#define YY_NO_UNPUT
|
||||
%}
|
||||
%%
|
||||
|
||||
|
|
|
@ -53,10 +53,6 @@ uuid {hexd}{8}-{hexd}{4}-{hexd}{4}-{hexd}{4}-{hexd}{12}
|
|||
|
||||
#include "parser.tab.h"
|
||||
|
||||
#define YY_USE_PROTOS
|
||||
#define YY_NO_UNPUT
|
||||
#define YY_NO_TOP_STATE
|
||||
|
||||
extern char *temp_name;
|
||||
|
||||
static void addcchar(char c);
|
||||
|
|
|
@ -112,10 +112,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
|
|||
|
||||
#include "parser.tab.h"
|
||||
|
||||
#define YY_USE_PROTOS
|
||||
#define YY_NO_UNPUT
|
||||
#define YY_NO_TOP_STATE
|
||||
|
||||
/* Always update the current character position within a line */
|
||||
#define YY_USER_ACTION char_number+=yyleng; wanted_id = want_id; want_id = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue