-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey guys
I just made a quick test project there its not pretty but the src/Makefile.am bin_PROGRAMS = test noinst_LIBRARIES = libparser_a.a libparser_b.a test_SOURCES = main.c test_LDADD = libparser_a.a libparser_b.a libparser_a_a_YFLAGS = -d -p prefix_a libparser_a_a_LFLAGS = -Pprefix_a libparser_a_a_SOURCES = parser_a.y lexer_a.l libparser_b_a_YFLAGS = -d -p prefix_b libparser_b_a_LFLAGS = -Pprefix_b libparser_b_a_SOURCES = parser_b.y lexer_b.l This is the way i think it could be nice to do this multiple lexer problem. The only thing left to solve is to add an option in ylwrap to allow a -Prefix option. So maby adding a sed script to go through the defines from the manual and the extra one Hans Nieser has found to rename them. Could be a way to do it? I made each parser a lib so i could give them each sperate YFLAGS and LFGAGS, for the sperate prefix's. Anyways let me know what you think? Is ylwrap part of automake or is that autoconf? Or is it seperate? - --Phil -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoQUHcACgkQAhcOgIaQQ2F0DwCglPqAk3Nc3VFkmi6P23aDQHPL TxwAn0YdherIQTvCA0z05A+6mHvktqFt =DTuI -----END PGP SIGNATURE-----
multiple-test-case.tar.gz
Description: GNU Zip compressed data