summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-22 03:52:22 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-22 03:52:22 +0000
commit30030136e9a486999637b0e3f32cb8dbf37de1c9 (patch)
tree8ecd9fb7f4b88761dcf52706e095e75765e23105
parent77061811ee6b618d1efd8a2ca66aec82d9077f33 (diff)
downloadruby-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--ChangeLog4
-rw-r--r--insns.def2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d6938e99c..a39c88226 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
diff --git a/insns.def b/insns.def
index 172001b09..acd377ae4 100644
--- a/insns.def
+++ b/insns.def
@@ -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);