diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 03:52:22 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 03:52:22 +0000 |
| commit | 30030136e9a486999637b0e3f32cb8dbf37de1c9 (patch) | |
| tree | 8ecd9fb7f4b88761dcf52706e095e75765e23105 | |
| parent | 77061811ee6b618d1efd8a2ca66aec82d9077f33 (diff) | |
| download | ruby-30030136e9a486999637b0e3f32cb8dbf37de1c9.tar.gz ruby-30030136e9a486999637b0e3f32cb8dbf37de1c9.tar.xz ruby-30030136e9a486999637b0e3f32cb8dbf37de1c9.zip | |
* insns.def (newhash): fix a variable definition: "const k".
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | insns.def | 2 |
2 files changed, 5 insertions, 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> * array.c (flatten): check if reentered. [ruby-dev:34798] @@ -564,7 +564,7 @@ newhash for (i = num; i > 0; 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); } POPN(num); |
