aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--parse.y4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a5a0f26da..83c6cd3d5d 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 8d34c153d2..3ad879db1f 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
{