mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* insns.def (newhash): fix a variable definition: "const k".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
feead4dca5
commit
dc217e2d25
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu May 22 12:51:41 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* insns.def (newhash): fix a variable definition: "const k".
|
||||||
|
|
||||||
Thu May 22 12:40:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu May 22 12:40:54 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* array.c (flatten): check if reentered. [ruby-dev:34798]
|
* array.c (flatten): check if reentered. [ruby-dev:34798]
|
||||||
|
|
|
@ -564,7 +564,7 @@ newhash
|
||||||
|
|
||||||
for (i = num; i > 0; i -= 2) {
|
for (i = num; i > 0; i -= 2) {
|
||||||
const VALUE v = TOPN(i - 2);
|
const VALUE v = TOPN(i - 2);
|
||||||
const k = TOPN(i - 1);
|
const VALUE k = TOPN(i - 1);
|
||||||
rb_hash_aset(val, k, v);
|
rb_hash_aset(val, k, v);
|
||||||
}
|
}
|
||||||
POPN(num);
|
POPN(num);
|
||||||
|
|
Loading…
Reference in a new issue