Alexandre Julliard : Remove YY_NO defines that cause warnings.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 5 10:53:52 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 1e96455094bd381e50840183a03ecf58f50700f5
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=1e96455094bd381e50840183a03ecf58f50700f5

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jan  5 12:20:05 2006 +0100

Remove YY_NO defines that cause warnings.

---

 libs/wpp/ppl.l               |    2 --
 programs/winedbg/debug.l     |    2 --
 programs/winhelp/macro.lex.l |    1 -
 tools/widl/parser.l          |    4 ----
 tools/wrc/parser.l           |    4 ----
 5 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 020f91f..073a6ac 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -172,8 +172,6 @@ ul	[uUlL]|[uUlL][lL]|[lL][uU]|[lL][lL][u
 #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
diff --git a/programs/winedbg/debug.l b/programs/winedbg/debug.l
index c5aa044..1c40642 100644
--- a/programs/winedbg/debug.l
+++ b/programs/winedbg/debug.l
@@ -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;
 %}
 
diff --git a/programs/winhelp/macro.lex.l b/programs/winhelp/macro.lex.l
index b614821..7e83337 100644
--- a/programs/winhelp/macro.lex.l
+++ b/programs/winhelp/macro.lex.l
@@ -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
 %}
 %%
 
diff --git a/tools/widl/parser.l b/tools/widl/parser.l
index 4955bad..c053c12 100644
--- a/tools/widl/parser.l
+++ b/tools/widl/parser.l
@@ -53,10 +53,6 @@ uuid	{hexd}{8}-{hexd}{4}-{hexd}{4}-{hexd
 
 #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);
diff --git a/tools/wrc/parser.l b/tools/wrc/parser.l
index cbdf9b6..aea3fb8 100644
--- a/tools/wrc/parser.l
+++ b/tools/wrc/parser.l
@@ -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;
 




More information about the wine-cvs mailing list