On Mon, 2005-04-04 at 00:52 +0200, Gabriel de Perthuis wrote: > Le dimanche 03 avril 2005 à 21:17 +0200, Oliver Lemke a écrit : > > Hi, > > > > On Mon, 2005-03-28 at 18:55 +0200, Gabriel de Perthuis wrote: > > > Patch is attached, it's a work in progress but it works. > > > > I tried your patch but haven't succeeded to process the lex file either > > with flex nor bison: > > > > # flex -V > > flex version 2.5.4 > > # flex rhythmdb-query-parser.l > > "rhythmdb-query-parser.l", line 45: unrecognized %option: reentrant > I guess you need a more recent flex. Mine is 2.5.31. I'm attaching the c source. That's the first time somebody tells me (as a Gentoo user) that the version of a software package I'm having is too _old_. ;-) But seriously: Is there any way to make it compatible with older flex? Most distros (SuSE 9.2, Mandrake 2005 LE) ship with flex 2.5.4a. IIRC the new flex has some compatibility problems with postgresql. I guess you're using Ubuntu Hoary? > The reentrancy is for handling parenthesis. ic. -- so long, oliver Public GPG Key: http://www.core-dump.info/olemke-public.asc Fingerprint: 2389 0B2C 1AA8 4E3E D5AD 3B72 00DB ABDC 73ED C558
Attachment:
signature.asc
Description: This is a digitally signed message part