Home | History | Annotate | Download | only in doc

Lines Matching full:yyparse

64 * Interface::           C-language interface to the parser function `yyparse'.
206 * Parser Function:: How to call `yyparse' and what it returns.
220 * Calling Convention:: How `yyparse' calls `yylex'.
326 * How Can I Reset the Parser:: `yyparse' Keeps some State
1858 function named `yyparse' which implements that grammar. This function
1863 to provide this, and arrange for it to call `yyparse' or the parser
1870 `yyerror' and the parser function `yyparse' itself. This also includes
2148 The parser function `yyparse' continues to process input until a
2212 `$3'. When `yyparse' recognizes a sum expression using this rule, the
2313 `yyparse' to start the process of parsing.
2318 return yyparse ();
2327 When `yyparse' detects a syntax error, it calls the error reporting
2335 /* Called by yyparse on error. */
2344 (*note Error Recovery::). Otherwise, `yyparse' returns nonzero. We
2373 implementation file contains the source code for `yyparse'. The
2508 that by default `yyparse' returns after calling `yyerror'. This means
2720 return yyparse ();
2909 /* Called by yyparse on error. */
2952 return yyparse ();
2999 (`VAR' or `FNCT') is returned to `yyparse'. If it is not already in
3001 pointer and its type (which must be `VAR') is returned to `yyparse'.
3075 /* Called by yyparse on error. */
3091 return yyparse ();
3179 file so that they precede the definition of `yyparse'. You can use
3502 definition of `yyparse'. For example, the definitions of `yylex' and
4745 time `yyparse' is called. The CODE may use `$$' (or `$<TAG>$')
4783 (*note The Parser Function `yyparse': Parser Function.).
4899 (*note The Parser Function `yyparse': Parser Function.).
5019 become local variables in `yyparse', and a different calling convention
5022 The variable `yynerrs' becomes local in `yyparse' in pull mode but it
5025 `yyparse' itself is unchanged.
5110 two extra symbols, `yyparse' and `yypull_parse'. `yyparse' can be used
5113 `yypull_parse'. This makes the `yyparse' function that is generated
5115 `yyparse' function. If the user calls the `yypull_parse' function it
5667 as `yyparse', `yylval'. To use different parsers from the same
5681 The renamed symbols include `yyparse', `yylex', `yyerror',
5693 beginning of the parser implementation file, defining `yyparse' as
5697 #define yyparse cparse
5701 int yyparse (void);
5745 The Bison parser is actually a C function named `yyparse'. Here we
5746 describe the interface conventions of `yyparse' and the other functions
5756 * Parser Function:: How to call `yyparse' and what it returns.
5771 4.1 The Parser Function `yyparse'
5774 You call the function `yyparse' to cause parsing to occur. This
5777 write an action which directs `yyparse' to return immediately without
5780 -- Function: int yyparse (void)
5781 The value returned by `yyparse' is 0 if parsing was successful
5790 In an action, you can cause immediate return from `yyparse' by using
5805 ARGUMENT-DECLARATION is an additional `yyparse' argument. The
5820 value = yyparse (&nastiness, &randomness);
5833 int yyparse (int *randomness);
5839 int yyparse (int *randomness);
5856 The value returned by `yypush_parse' is the same as for yyparse
5874 The value returned by `yypull_parse' is the same as for `yyparse'.
5922 this function automatically; you must write it so that `yyparse' can
5935 * Calling Convention:: How `yyparse' calls `yylex'.
6063 `yyparse' expects to find the textual location of a token just parsed
6134 called by `yyparse' whenever a syntax error is found, and it receives
6149 limit. But if memory is exhausted, `yyparse' calls `yyerror' in the
6164 After `yyerror' returns to `yyparse', the latter will attempt error
6166 (*note Error Recovery::). If recovery is impossible, `yyparse' will
6223 Return immediately from `yyparse', indicating failure. *Note The
6224 Parser Function `yyparse': Parser Function.
6227 Return immediately from `yyparse', indicating success. *Note The
6228 Parser Function `yyparse': Parser Function.
6776 The function `yyparse' is implemented using a finite-state machine.
7521 `yyparse' calls `yyerror' and then returns 2.
7571 it may be sufficient to allow `yyparse' to return 1 on error and have
7573 then call `yyparse' again). But this is inadequate for a compiler,
9085 use the Yacc library's `main' function, your `yyparse' function should
9088 int yyparse (void);
10177 will cause a return from the `yyparse' method(1).
10216 `yyparse' in order to have an intuitive syntax that corresponds to
10344 * How Can I Reset the Parser:: `yyparse' Keeps some State
10377 I invoke `yyparse' several times, and on correct input it works
10379 too. How can I reset the error flag of `yyparse'?
10384 which case I run `yyparse' from `yyparse'. This fails although I
10400 yyparse (char const *file)
10421 yyparse ("input");
10422 yyparse ("input");
10881 The precise list of symbols renamed in C parsers is `yyparse',
10904 `yyparse' should accept. *Note The Parser Function `yyparse':
10955 by making `yyparse' return 1 immediately. The error reporting
10957 `yyparse': Parser Function.
10964 read, by making `yyparse' return 0 immediately. *Note The Parser
10965 Function `yyparse': Parser Function.
10977 `yyparse'.) Error-recovery rule actions may examine this variable.
11009 User-supplied function to be called by `yyparse' on error. *Note
11034 extra arguments) for `yyparse' to pass to `yylex'. The use of this
11041 variable within `yyparse', and its address is passed to `yylex'.)
11055 variable within `yyparse', and its address is passed to `yylex'.)
11067 `yyparse'. In a pure push parser, it is a member of yypstate.)
11070 -- Function: yyparse
11072 parsing. *Note The Parser Function `yyparse': Parser Function.
11110 `yyparse' should accept. The use of this macro is deprecated, and
12641 * yyparse <1>: Parser Function. (line 13)
12642 * yyparse: Table of Symbols. (line 371)