Next: , Previous: , Up: Interface   [Contents][Index]


4.2 The Push Parser Function yypush_parse

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

You call the function yypush_parse to parse a single token. This function is available if either the ‘%define api.push-pull push’ or ‘%define api.push-pull both’ declaration is used. See A Push Parser.

Function: int yypush_parse (yypstate *yyps)

The value returned by yypush_parse is the same as for yyparse with the following exception: it returns YYPUSH_MORE if more input is required to finish parsing the grammar.