зеркало из https://github.com/github/ruby.git
* parse.y (lambda): need to adjust lpar_beg for both of the parser and
ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0ad553ce58
Коммит
a26b7a0c82
|
@ -1,3 +1,8 @@
|
|||
Sat Oct 25 03:43:25 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (lambda): need to adjust lpar_beg for both of the parser and
|
||||
ripper.
|
||||
|
||||
Sat Oct 25 01:29:34 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/mathn/rational/rational.c: undef duplicated macro definition
|
||||
|
|
2
parse.y
2
parse.y
|
@ -3427,9 +3427,9 @@ lambda : {
|
|||
/*%%%*/
|
||||
dyna_push();
|
||||
/*%
|
||||
%*/
|
||||
$<num>$ = lpar_beg;
|
||||
lpar_beg = ++paren_nest;
|
||||
%*/
|
||||
}
|
||||
f_larglist
|
||||
lambda_body
|
||||
|
|
Загрузка…
Ссылка в новой задаче