From: Paul Eggert Date: Mon, 22 Apr 2002 22:10:22 +0000 (+0000) Subject: Replace @var{...(...}} with something else, as Texinfo 4.2 warns X-Git-Tag: BISON-1_49a~21 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/08e49d20f0e9b356ab080d84577d9640e64bfd17 Replace @var{...(...}} with something else, as Texinfo 4.2 warns about that construct. --- diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 84a4ae8e..866f7968 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -766,7 +766,7 @@ general form of a Bison grammar file is as follows: @example %@{ -@var{Prologue (declarations)} +@var{Prologue} %@} @var{Bison declarations} @@ -774,7 +774,7 @@ general form of a Bison grammar file is as follows: %% @var{Grammar rules} %% -@var{Epilogue (additional code)} +@var{Epilogue} @end example @noindent @@ -2043,7 +2043,7 @@ Comments enclosed in @samp{/* @dots{} */} may appear in any of the sections. @cindex Prologue @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 grammar rules. These are copied to the beginning of the parser file so 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 C code, section for additional -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{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 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 definitions of @code{yylex} and @code{yyerror} often go here.