just pushed bison/flex changes

Jim Meyering jim at meyering.net
Tue Oct 19 18:48:46 UTC 2010


FYI, I've just pushed these:

Jeff Darcy (2):
      rewrite query parser using Bison, not peg/leg
      Add query.h comments back in.

Jim Meyering (22):
      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
      lex && and || as tokens, not "&" and "|"
      add missing #define part of double-inclusion guard
      query.h: use struct value_t (same name as typedef)
      add beginnings of %union support
      pure, almost
      handle yylex_init failure
      qlexer.l: rewrite not to need static var, at_eof.
      now that lexer calls strdup, free those strings
      xrealloc was not used; #if-0 it out
      avoid NULL deref on failed strdup


More information about the iwhd-devel mailing list