summaryrefslogtreecommitdiffstats
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
commit1a1c68b5bdee277546403c41361af58ac73da744 (patch)
tree94c4e2e5f49f64b8a761d74023312590ff639763
parent3a70a89f24e9c748dc5efcfb8a5ed4e5f5527d7e (diff)
downloadruby-1a1c68b5bdee277546403c41361af58ac73da744.tar.gz
ruby-1a1c68b5bdee277546403c41361af58ac73da744.tar.xz
ruby-1a1c68b5bdee277546403c41361af58ac73da744.zip
* parse.y (arg): missing arguments.
git-svn-id: http://svn.ruby-lang.org/repos/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 5a5a0f26d..83c6cd3d5 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 8d34c153d..3ad879db1 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
{