Re: Tetex with Flex 2.5.31
On 22.09.03 Jim Gifford (firstname.lastname@example.org) wrote:
> 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
> ./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
Not really a patch, but rather a workaround, as long as pl.l is not
adapted to the new flex in unstable. However it's better than, what
we're doing in the moment.
I propose to forward it to Thomas. Could anybody check out in an
unstable/testing box, if it is working?
A horse! A horse! My kingdom for a horse!
-- Wm. Shakespeare, "Henry VI"