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 # bison -V bison (GNU Bison) 2.0 # bison rhythmdb-query-parser.l rhythmdb-query-parser.l:45.1-7: invalid directive: `%option' rhythmdb-query-parser.l:45.9-16: syntax error, unexpected "identifier" Any ideas? > For now I need some help with the Makefiles, because apparently editing > Makefile.am and re-running automake breaks things (I think it's not > related to the patch). > The makefiles should handle going from the .l to a .c to a .o . After adding rhythmdb-query-parser.l to librhythmdb_la_SOURCES in rhythmdb/Makefile.am and AC_PROG_LEX to configure.ac the lex file is handled correctly by make. Except that flex is bailing out as mentioned above. -- 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