convert to bison/flex (away from peg/leg)
Jeff Darcy
jdarcy at redhat.com
Fri Oct 15 18:14:13 UTC 2010
On 10/15/2010 09:27 AM, Jim Meyering wrote:
> I've finished the conversion to bison and flex that Jeff started.
> Well, not completely finished, but good enough for now.
> There are still a few tasks remaining, but they can wait.
>
> Since the result is rather large, I've pushed it to the bison-flex
> branch for review:
>
> http://repo.or.cz/w/iwhd.git/shortlog/refs/heads/bison-flex
>
> rather than including the diffs here.
> Here's the summary:
>
> $ git shortlog ^master HEAD
> Jeff Darcy (1):
> rewrite query parser using Bison, not peg/leg
>
> Jim Meyering (12):
> remove query.leg and query.c.diff
> build: rearrange things to use Bison/Flex; adapt; clean up
> parse-test now passes
> apply jeffs leak-fixing patch from master (manually merge 3 failed hunks)
> apply Jeff's link-following change
> qparser.y: Include <ctype.h> for use of isdigit
> cast away "const" on free argument
> static and const
> use literals in bison
> avoid undefined-yydecl warning
> qlexer.l: simplify
> build: ensure we use only Flex
>
> The result passes "make distcheck" with no leak.
When I tried to build with these changes on top of mine, it tripped up
on iwhd-qparser.h not being generated before it was needed.
More information about the iwhd-devel
mailing list