Replace @var{...(...}} with something else, as Texinfo 4.2 warns

about that construct.
This commit is contained in:
Paul Eggert
2002-04-22 22:10:22 +00:00
parent e91ff6ce3d
commit 08e49d20f0

View File

@@ -766,7 +766,7 @@ general form of a Bison grammar file is as follows:
@example @example
%@{ %@{
@var{Prologue (declarations)} @var{Prologue}
%@} %@}
@var{Bison declarations} @var{Bison declarations}
@@ -774,7 +774,7 @@ general form of a Bison grammar file is as follows:
%% %%
@var{Grammar rules} @var{Grammar rules}
%% %%
@var{Epilogue (additional code)} @var{Epilogue}
@end example @end example
@noindent @noindent
@@ -2043,7 +2043,7 @@ Comments enclosed in @samp{/* @dots{} */} may appear in any of the sections.
@cindex Prologue @cindex Prologue
@cindex declarations @cindex declarations
The @var{prologue} section contains macro definitions and The @var{Prologue} section contains macro definitions and
declarations of functions and variables that are used in the actions in the declarations of functions and variables that are used in the actions in the
grammar rules. These are copied to the beginning of the parser file so grammar rules. These are copied to the beginning of the parser file so
that they precede the definition of @code{yyparse}. You can use that they precede the definition of @code{yyparse}. You can use
@@ -2079,8 +2079,8 @@ if it is the first thing in the file.
@cindex epilogue @cindex epilogue
@cindex C code, section for additional @cindex C code, section for additional
The @var{epilogue} is copied verbatim to the end of the parser file, just as The @var{Epilogue} is copied verbatim to the end of the parser file, just as
the @var{prologue} is copied to the beginning. This is the most convenient the @var{Prologue} is copied to the beginning. This is the most convenient
place to put anything that you want to have in the parser file but which need place to put anything that you want to have in the parser file but which need
not come before the definition of @code{yyparse}. For example, the not come before the definition of @code{yyparse}. For example, the
definitions of @code{yylex} and @code{yyerror} often go here. definitions of @code{yylex} and @code{yyerror} often go here.