[Libguestfs] [PATCH 1/3] builder: make the C index parser reentrant

Richard W.M. Jones rjones at redhat.com
Wed Mar 19 22:15:34 UTC 2014


On Wed, Mar 19, 2014 at 05:53:09PM +0100, Pino Toscano wrote:
> Switch the lex/yacc parser into reentrant mode, to ease the handling of
> parsing-specific data; introduce a new parser_context struct for that,
> which is added as extra data to the parser.
> 
> This should cause no behaviour changes in the parsing, just no more
> global variables used for getting data in/out the parser.

This looks like a straightforward conversion to a reentrant
parser, so ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)




More information about the Libguestfs mailing list