3289 |
Rename the external symbols used in the parser so that they start with |
Rename the external symbols used in the parser so that they start with |
3290 |
@var{prefix} instead of @samp{yy}. The precise list of symbols renamed |
@var{prefix} instead of @samp{yy}. The precise list of symbols renamed |
3291 |
is @code{yyparse}, @code{yylex}, @code{yyerror}, @code{yynerrs}, |
is @code{yyparse}, @code{yylex}, @code{yyerror}, @code{yynerrs}, |
3292 |
@code{yylval}, @code{yychar} and @code{yydebug}. For example, if you |
@code{yylval}, @code{yychar}, @code{yydebug}, and possible |
3293 |
use @samp{%name-prefix="c_"}, the names become @code{c_parse}, |
@code{yylloc}. For example, if you use @samp{%name-prefix="c_"}, the |
3294 |
@code{c_lex}, and so on. @xref{Multiple Parsers, ,Multiple Parsers in |
names become @code{c_parse}, @code{c_lex}, and so on. @xref{Multiple |
3295 |
the Same Program}. |
Parsers, ,Multiple Parsers in the Same Program}. |
3296 |
|
|
3297 |
@item %no-parser |
@item %no-parser |
3298 |
Do not include any C code in the parser file; generate tables only. The |
Do not include any C code in the parser file; generate tables only. The |