summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-23 06:50:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-23 06:50:10 +0000
commit5799eb9d5efbfe162abc29328fb2c386827a8ca0 (patch)
tree94c4e2e5f49f64b8a761d74023312590ff639763
parent37aa8eeb0b271635e5daac638abb56941bb53f6c (diff)
* parse.y (arg): missing arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--parse.y4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a5a0f2..83c6cd3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jan 23 15:49:57 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * parse.y (arg): missing arguments.
+
Thu Jan 23 14:56:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rational.rb: modified to support "quo".
diff --git a/parse.y b/parse.y
index 8d34c15..3ad879d 100644
--- a/parse.y
+++ b/parse.y
@@ -1028,11 +1028,11 @@ arg : lhs '=' arg
}
| tUMINUS_NUM tINTEGER tPOW arg
{
- $$ = call_op(call_op($2, tPOW, 1, $4), tUMINUS);
+ $$ = call_op(call_op($2, tPOW, 1, $4), tUMINUS, 0, 0);
}
| tUMINUS_NUM tFLOAT tPOW arg
{
- $$ = call_op(call_op($2, tPOW, 1, $4), tUMINUS);
+ $$ = call_op(call_op($2, tPOW, 1, $4), tUMINUS, 0, 0);
}
| tUPLUS arg
{