Commit 1e964550 authored by Alexandre Julliard's avatar Alexandre Julliard

Remove YY_NO defines that cause warnings.

parent 5d210af9
...@@ -172,8 +172,6 @@ ul [uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][uU]|[uU][lL][lL]|[lL][uU][lL] ...@@ -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). #error Must use flex version 2.5.1 or higher (yy_scan_* routines are required).
#endif #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_READ_BUF_SIZE 65536 /* So we read most of a file at once */
#define yy_current_state() YY_START #define yy_current_state() YY_START
......
...@@ -70,8 +70,6 @@ static size_t last_line_idx = 0; ...@@ -70,8 +70,6 @@ static size_t last_line_idx = 0;
if ((result = read_input("Wine-dbg>", buf, max_size)) < 0) \ if ((result = read_input("Wine-dbg>", buf, max_size)) < 0) \
YY_FATAL_ERROR("read_input in flex scanner failed"); YY_FATAL_ERROR("read_input in flex scanner failed");
#define YY_NO_UNPUT
static int syntax_error; static int syntax_error;
%} %}
......
...@@ -39,7 +39,6 @@ struct lexret yylval; ...@@ -39,7 +39,6 @@ struct lexret yylval;
#define YY_INPUT(buf,result,max_size)\ #define YY_INPUT(buf,result,max_size)\
if ((result = *macroptr ? 1 : 0)) buf[0] = *macroptr++; 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} ...@@ -53,10 +53,6 @@ uuid {hexd}{8}-{hexd}{4}-{hexd}{4}-{hexd}{4}-{hexd}{12}
#include "parser.tab.h" #include "parser.tab.h"
#define YY_USE_PROTOS
#define YY_NO_UNPUT
#define YY_NO_TOP_STATE
extern char *temp_name; extern char *temp_name;
static void addcchar(char c); static void addcchar(char c);
......
...@@ -112,10 +112,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]* ...@@ -112,10 +112,6 @@ cident [a-zA-Z_][0-9a-zA-Z_]*
#include "parser.tab.h" #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 */ /* Always update the current character position within a line */
#define YY_USER_ACTION char_number+=yyleng; wanted_id = want_id; want_id = 0; #define YY_USER_ACTION char_number+=yyleng; wanted_id = want_id; want_id = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment