[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(fwd) Tetex with Flex 2.5.31



Hi Thomas

Down here in debian-tetex-maint we've got a suggestion how to work
around the incompatibility between the new flex and the old
tetex-src-2.0.2/texk/web2c/omegafonts/pl.l. Suggested patch attached.
Atsuhito has tried it out and said it's working fine.

Hilmar
----- Forwarded message from Jim Gifford <jim@jg555.com> -----
From: "Jim Gifford" <jim@jg555.com>
To: debian-tetex-maint@lists.debian.org
Subject: Tetex with Flex 2.5.31
Date: Sun, 21 Sep 2003 21:54:58 -0700
Message-ID: <00d201c380c5$ad11e690$3400a8c0@W2RZ8L4S02>
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-Mailing-List: <debian-tetex-maint@lists.debian.org> archive/latest/5407

I just wanted to pass on a patch that I created for Linux from Scratch. It is a fix for the pl.l parse error

Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
Date: 2003-09-20
Initial Package Version: 2.0.2
Origin: Jim Gifford
Description: Fixes Parse error in pl.l Flex Version 2.5.31

Corrects
 ./pl.l: In function `scan_string':
 ./pl.l:462: `yytext_ptr' undeclared (first use in this function)
 ./pl.l:462: (Each undeclared identifier is reported only once
 ./pl.l:462: for each function it appears in.)

 
diff -Naur tetex-src-2.0.2.orig/texk/web2c/omegafonts/Makefile.in tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in
--- tetex-src-2.0.2.orig/texk/web2c/omegafonts/Makefile.in 2001-11-10 13:42:37.000000000 +0000
+++ tetex-src-2.0.2/texk/web2c/omegafonts/Makefile.in 2003-09-21 07:41:29.000000000 +0000
@@ -40,7 +40,7 @@
  -test -f y.tab.h && mv -f y.tab.h y_tab.h
 $(LEX_OUTPUT_ROOT).o: parser.h
 $(LEX_OUTPUT_ROOT).c: pl.l
- $(LEX) $(srcdir)/pl.l
+ $(LEX) -l $(srcdir)/pl.l
 
----
Jim Gifford

jim@jg555.com
giffordj@linkline.com

----- End forwarded message -----

-- 
sigmentation fault



Reply to: