summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-20 06:10:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-20 06:10:11 +0000
commite1b4b5c77c27cee831e0b05df2aa3ac770fe39d0 (patch)
treec66c8b19311515de7858fcb54aec97c0d130f89f /parse.y
parentbefe282d0054d07a2f27a35c9f1f4c0ec1396218 (diff)
Tue Jan 20 15:08:03 JST 1998
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@31 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y8
1 files changed, 2 insertions, 6 deletions
diff --git a/parse.y b/parse.y
index 26a7fd9452..a65638e485 100644
--- a/parse.y
+++ b/parse.y
@@ -175,8 +175,8 @@ static void top_local_setup();
%type <id> variable symbol operation assoc_kw
%type <id> cname fname op rest_arg
%type <num> f_arg
-%token oUPLUS /* unary+ */
-%token MINUS /* unary- */
+%token UPLUS /* unary+ */
+%token UMINUS /* unary- */
%token POW /* ** */
%token CMP /* <=> */
%token EQ /* == */
@@ -458,10 +458,6 @@ lhs : variable
{
$$ = attrset($1, $3, 0);
}
- | primary '.' CONSTANT
- {
- $$ = attrset($1, $3, 0);
- }
| backref
{
backref_error($1);