summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Autret <autret_m@epita.fr>2001-08-08 21:55:36 +0000
committerMarc Autret <autret_m@epita.fr>2001-08-08 21:55:36 +0000
commitfdc6758b794cc59f7352aa14b7ea5f169b6ee530 (patch)
treecbadb85ed68e6b9956a71bbdd9924e025c000430 /doc
parent957d4dbf1653b39df680870ce8dca16df43ad6a6 (diff)
downloadbison-fdc6758b794cc59f7352aa14b7ea5f169b6ee530.tar.gz
doc/bison.texinfo: Change @samp{$<@dots{}>} to @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
Diffstat (limited to 'doc')
-rw-r--r--doc/bison.texinfo4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/bison.texinfo b/doc/bison.texinfo
index 03af981f..ed683241 100644
--- a/doc/bison.texinfo
+++ b/doc/bison.texinfo
@@ -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