summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-22 08:31:33 (GMT)
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-22 08:31:33 (GMT)
commit225cd9f109ee4918d00c1b57f8e77b82c1321202 (patch)
tree0cd5ee9fc5d3be4d8d9f1150c7333ada6bd8a2e1 /version.c
parent48b24fe53608844aa46a51e6e965b43c00e94a19 (diff)
* parse.y (opt_rescue): use NODE_ERRINFO() instead of
NODE_GVAR("$!"), to avoid confusion from variable aliasing. [ruby-talk:90074] * version.c (Init_version): remove obsolete constants VERSION etc. [ruby-dev:22643] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r--version.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/version.c b/version.c
index 54051bb..87b9e0f 100644
--- a/version.c
+++ b/version.c
@@ -24,11 +24,6 @@ Init_version()
rb_define_global_const("RUBY_VERSION", v);
rb_define_global_const("RUBY_RELEASE_DATE", d);
rb_define_global_const("RUBY_PLATFORM", p);
-
- /* obsolete constants */
- rb_define_global_const("VERSION", v);
- rb_define_global_const("RELEASE_DATE", d);
- rb_define_global_const("PLATFORM", p);
}
void