Revert "Simplify handling of '.' and '-' after unbracketed named references."

This reverts commit bf3e44fe46.

See discussion following
<http://lists.gnu.org/archive/html/bison-patches/2011-01/msg00030.html>.
This commit is contained in:
Joel E. Denny
2011-01-29 10:58:03 -05:00
parent fe3cae17a1
commit 676997e53b
7 changed files with 159 additions and 147 deletions

View File

@@ -3125,9 +3125,7 @@ By convention, it should be all lower case.
Symbol names can contain letters, underscores, periods, dashes, and (not
at the beginning) digits. Dashes in symbol names are a GNU
extension, incompatible with POSIX Yacc. Periods and dashes make symbol
names less convenient to use with named references, which require brackets
around such names (@pxref{Named References}). Terminal symbols
extension, incompatible with POSIX Yacc. Terminal symbols
that contain periods or dashes make little sense: since they are not
valid symbols (in most programming languages) they are not exported as
token names.