mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (arg): missing arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
37aa8eeb0b
commit
5799eb9d5e
2 changed files with 6 additions and 2 deletions
|
@ -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>
|
Thu Jan 23 14:56:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* lib/rational.rb: modified to support "quo".
|
* lib/rational.rb: modified to support "quo".
|
||||||
|
|
4
parse.y
4
parse.y
|
@ -1028,11 +1028,11 @@ arg : lhs '=' arg
|
||||||
}
|
}
|
||||||
| tUMINUS_NUM tINTEGER tPOW 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
|
| 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
|
| tUPLUS arg
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue