Manual
Manual
Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Appendix A: Bison Symbols 121<br />
or (if recovery is impossible) make yyparse return 1. See Chapter 6 [Error Recovery],<br />
page 83.<br />
yyerror<br />
[Function]<br />
User-supplied function to be called by yyparse on error. See Section 4.3 [The Error<br />
Reporting Function yyerror], page 67.<br />
YYERROR_VERBOSE<br />
[Macro]<br />
An obsolete macro that you define with #define in the prologue to request verbose,<br />
specific error message strings when yyerror is called. It doesn’t matter what definition<br />
you use for YYERROR_VERBOSE, just whether you define it. Using %error-verbose<br />
is preferred.<br />
YYINITDEPTH<br />
Macro for specifying the initial size of the parser stack.<br />
Management], page 80.<br />
[Macro]<br />
See Section 5.9 [Memory<br />
yylex<br />
[Function]<br />
User-supplied lexical analyzer function, called with no arguments to get the next<br />
token. See Section 4.2 [The Lexical Analyzer Function yylex], page 64.<br />
YYLEX_PARAM<br />
[Macro]<br />
An obsolete macro for specifying an extra argument (or list of extra arguments) for<br />
yyparse to pass to yylex. The use of this macro is deprecated, and is supported<br />
only for Yacc like parsers. See Section 4.2.4 [Calling Conventions for Pure Parsers],<br />
page 66.<br />
yylloc<br />
[Variable]<br />
External variable in which yylex should place the line and column numbers associated<br />
with a token. (In a pure parser, it is a local variable within yyparse, and its address<br />
is passed to yylex.) You can ignore this variable if you don’t use the ‘@’ feature in<br />
the grammar actions. See Section 4.2.3 [Textual Locations of Tokens], page 65. In<br />
semantic actions, it stores the location of the look-ahead token. See Section 3.6.2<br />
[Actions and Locations], page 52.<br />
YYLTYPE<br />
[Type]<br />
Data type of yylloc; by default, a structure with four members. See Section 3.6.1<br />
[Data Types of Locations], page 51.<br />
yylval<br />
[Variable]<br />
External variable in which yylex should place the semantic value associated with a<br />
token. (In a pure parser, it is a local variable within yyparse, and its address is passed<br />
to yylex.) See Section 4.2.2 [Semantic Values of Tokens], page 65. In semantic actions,<br />
it stores the semantic value of the look-ahead token. See Section 3.5.3 [Actions],<br />
page 47.<br />
YYMAXDEPTH<br />
[Macro]<br />
Macro for specifying the maximum size of the parser stack. See Section 5.9 [Memory<br />
Management], page 80.