Alexandre Julliard : winhelp: Specify the lex options directly in the source file.

Alexandre Julliard julliard at wine.codeweavers.com
Sun Sep 10 03:28:12 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Sep  9 11:25:50 2006 +0200

winhelp: Specify the lex options directly in the source file.

---

 programs/winhelp/Makefile.in |    2 +-
 programs/winhelp/macro.lex.l |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/winhelp/Makefile.in b/programs/winhelp/Makefile.in
index ff6a3c8..3d6c5b0 100644
--- a/programs/winhelp/Makefile.in
+++ b/programs/winhelp/Makefile.in
@@ -23,6 +23,6 @@ RC_SRCS = rsrc.rc
 @MAKE_PROG_RULES@
 
 @LEX_OUTPUT_ROOT at .c: macro.lex.l
-	$(LEX) -8 -i $(SRCDIR)/macro.lex.l
+	$(LEX) $(SRCDIR)/macro.lex.l
 
 ### Dependencies:
diff --git a/programs/winhelp/macro.lex.l b/programs/winhelp/macro.lex.l
index 8cad9f0..1480431 100644
--- a/programs/winhelp/macro.lex.l
+++ b/programs/winhelp/macro.lex.l
@@ -20,7 +20,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 %}
-%option nounput
+%option nounput interactive 8bit
 %x quote
 %{
 #include <assert.h>




More information about the wine-cvs mailing list