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 | 4ad3c44b68e468af7dbecbf3c0d048a1b989635c (patch) | |
tree | c4cb05335742d9b9bb5b67d961c9ed3e5eb91971 | |
parent | 031d847dc9ab0efed43c0976a2d52ee4d14e54fc (diff) | |
download | ruby-4ad3c44b68e468af7dbecbf3c0d048a1b989635c.tar.gz ruby-4ad3c44b68e468af7dbecbf3c0d048a1b989635c.tar.xz ruby-4ad3c44b68e468af7dbecbf3c0d048a1b989635c.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/trunk@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) |