X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1bddda4d85d1d9431a05699ce1aae40e865de797..91e3ac9ab0a1fda40aeed802a158cc80a68ea960:/doc/bison.texinfo diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 022510b8..01fa9bf2 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -4220,8 +4220,8 @@ Rename the external symbols used in the parser so that they start with @var{prefix} instead of @samp{yy}. The precise list of symbols renamed in C parsers is @code{yyparse}, @code{yylex}, @code{yyerror}, @code{yynerrs}, -@code{yylval}, @code{yylloc}, @code{yychar}, @code{yydebug}, and -possible @code{yylloc}. For example, if you use +@code{yylval}, @code{yychar}, @code{yydebug}, and +(if locations are used) @code{yylloc}. For example, if you use @samp{%name-prefix="c_"}, the names become @code{c_parse}, @code{c_lex}, and so on. In C++ parsers, it is only the surrounding namespace which is named @var{prefix} instead of @samp{yy}.