manpagez: man pages & more
info bison
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.4 The Parser Create Function yystate_new

(The current push parsing interface is experimental and may evolve. More user feedback will help to stabilize it.)

You call the function yypstate_new to create a new parser instance. This function is available if either the ‘%define api.push-pull push’ or ‘%define api.push-pull both’ declaration is used. See section A Push Parser.

Function: yypstate* yypstate_new (void)

The function will return a valid parser instance if there was memory available or 0 if no memory was available. In impure mode, it will also return 0 if a parser instance is currently allocated.

This document was generated on December 1, 2013 using texi2html 5.0.

© 2000-2022
Individual documents may contain additional copyright information.