According to J. op den Brouw:
> Hmm, there are other lex-es too that don't like the file. The trick is that
> some lex-es do not like expressions followed by empty statements; you need
> to present an { and an }. See patch.
...
> On Thu, 15 Mar 2001, Joe Vigil wrote:
> > I get the following error while making/compiling:
> > 
> > ===================================================================================
> > make[1]: Entering directory
> > `/usr2/joe/uunet/htdig-3.2.0b4-031201/htcommon'
> > lex -L  conf_lexer.lxx && mv lex.yy.c conf_lexer.cxx
> > 0: (Warning) Unknown option L
> > 111: (Warning) Executable statements should occur right after %%
> > 112: (Warning) Executable statements should occur right after %%
...
> > 155: (Warning) Executable statements should occur right after %%
> > 157: (Warning) Undefined start condition <EOF
> > (Error) Too little core for final packing
> > 101/2000 nodes(%e), 190/5000 positions(%p), 34/2500 (%n), 4180
> > transitions
> > 49/1000 packed char classes(%k)
> > 505/5000 packed transitions(%a)
> > 0/0 output slots(%o)
> > 
> > make[1]: *** [conf_lexer.cxx] Error 1
> > make[1]: Leaving directory
> > `/usr2/joe/uunet/htdig-3.2.0b4-031201/htcommon'
> > make: *** [all-recursive] Error 1
> > ================================================================================
> > This is on AIX 4.3.2, gcc version 2.95.2, using configure options
> > --prefix=/usr/local/htdig --disable-shared --without-zlib
> > 
> > Any ideas?

Well, I'm a little dubious that all non-GNU lex tools are hopelessly
broken, as I see that this isn't just a problem on HP-UX.  Does anyone
have access to reference manuals for standard "lex", without GNU
extensions, who might be willing to advise us how to make this code
portable?  Is "<<EOF>>" a GNU-specific hack?

At the very least, we should probably commit Jesse's patch, shouldn't
we?

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to