Remove YY_NO defines that cause warnings.

This commit is contained in:
Alexandre Julliard 2006-01-05 12:20:05 +01:00
parent 5d210af9dc
commit 1e96455094
5 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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;
%} %}

View File

@ -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
%} %}
%% %%

View File

@ -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);

View File

@ -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;