diff options
-rw-r--r-- | doc/bison.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/bison.texi b/doc/bison.texi index a4bc037e..b2eddcf8 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -5024,7 +5024,12 @@ exp[result]: exp[left] '/' exp[right] @end group @end example -@noindent +Like symbol names (@pxref{Symbols}), reference names can contain letters, +underscores, periods, and non-initial digits and dashes. In bracketed +reference names, leading and trailing blanks and comments are ignored: +@samp{[ name ]} and @samp{[/* A */ name /* for references. */]} are +equivalent to @samp{[name]}. + In order to access a semantic value generated by a midrule action, an explicit name may also be declared by putting a bracketed name after the closing brace of the midrule action code: |