diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-04 06:03:53 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-04 06:03:53 +0000 |
commit | 0b0e8e8e3ee9e1c3323c67e4f0e685e16e663d6c (patch) | |
tree | bfc19a452a9b0c7b33f825212ae2d2e5ceb26031 | |
parent | d7828e831a269e96f01aba52a3130fe8496a4bf0 (diff) | |
download | ruby-0b0e8e8e3ee9e1c3323c67e4f0e685e16e663d6c.tar.gz ruby-0b0e8e8e3ee9e1c3323c67e4f0e685e16e663d6c.tar.xz ruby-0b0e8e8e3ee9e1c3323c67e4f0e685e16e663d6c.zip |
* ext/tk/lib/tk/variable.rb: forget to initialize instance_variables
of TkVarAccess objects
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/tk/lib/tk/variable.rb | 7 |
2 files changed, 12 insertions, 0 deletions
@@ -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 d5882fd64..62d4ec29a 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) |