[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [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 section 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.yypush_parse
will return YYPUSH_MORE if more input is required to finish parsing the grammar.