doc/bison.texinfo: Change @samp{$<@dots{}>} to @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.

This commit is contained in:
Marc Autret
2001-08-08 21:55:36 +00:00
parent 957d4dbf16
commit fdc6758b79
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2001-08-08 Marc Autret <autret_m@epita.fr>
* doc/bison.texinfo: Change @samp{$<@dots{}>} to
@samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
Reported by Fabrice Bauzac.
2001-08-08 Marc Autret <autret_m@epita.fr>
* ChangeLog: Adjust.

2
THANKS
View File

@@ -1,8 +1,10 @@
Bison was originally written by Robert Corbett. It would not be what
it is today without the invaluable help of these people:
Akim Demaille akim@lrde.epita.fr
Daniel Hagerty hag@gnu.org
David J. MacKenzie djm@gnu.org
Fabrice Bauzac noon@cote-dazur.com
Hans Aberg haberg@matematik.su.se
Jesse Thilo jthilo@gnu.org
Jim Meyering meyering@gnu.org

View File

@@ -2730,8 +2730,8 @@ The mid-rule action can also have a semantic value. The action can set
its value with an assignment to @code{$$}, and actions later in the rule
can refer to the value using @code{$@var{n}}. Since there is no symbol
to name the action, there is no way to declare a data type for the value
in advance, so you must use the @samp{$<@dots{}>} construct to specify a
data type each time you refer to this value.
in advance, so you must use the @samp{$<@dots{}>@var{n}} construct to
specify a data type each time you refer to this value.
There is no way to set the value of the entire rule with a mid-rule
action, because assignments to @code{$$} do not have that effect. The