summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-04 06:03:53 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-04 06:03:53 +0000
commit9adcea740505650a3658010df26f56ff0bc9b29e (patch)
treebfc19a452a9b0c7b33f825212ae2d2e5ceb26031
parent56a3ae9be0fc5f2a93c47d1dd3356e98c778cdc7 (diff)
* ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
of TkVarAccess objects git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/tk/lib/tk/variable.rb7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 588a997..38964ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 4 15:02:14 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
+
+ * ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
+ of TkVarAccess objects
+
Thu Nov 4 09:11:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
* gc.c (gc_mark): enable GC stack checking.
diff --git a/ext/tk/lib/tk/variable.rb b/ext/tk/lib/tk/variable.rb
index d5882fd..62d4ec2 100644
--- a/ext/tk/lib/tk/variable.rb
+++ b/ext/tk/lib/tk/variable.rb
@@ -961,6 +961,13 @@ class TkVarAccess<TkVariable
@id = varname
TkVar_ID_TBL[@id] = self
+ @def_default = false
+ @default_val = nil
+
+ @trace_var = nil
+ @trace_elem = nil
+ @trace_opts = nil
+
# teach Tk-ip that @id is global var
INTERP._invoke_without_enc('global', @id)