diff options
author | Steve Bennett <steveb@workware.net.au> | 2010-01-24 12:58:35 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:45 +1000 |
commit | 541fe7c30691ace08847a35280d9cc8bc02e9a72 (patch) | |
tree | 530be84682be78cc1e34b5feaa64ee388f725768 /test.tcl | |
parent | 5dbbcf87423edb96cde7dfe59a2c8ef0a9d8ae2f (diff) |
Allow incr on unset variable
From Tcl 8.5, implicitly set variable to 0
Diffstat (limited to 'test.tcl')
-rw-r--r-- | test.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1180,7 +1180,7 @@ test incr-1.13 {TclCompileIncrCmd: simple but new (unknown) local name} { } catch {p} msg set msg -} {can't read "bar": no such variable} +} {1} test incr-1.14 {TclCompileIncrCmd: simple local name, >255 locals} { proc 260locals {} { # create 260 locals @@ -1399,7 +1399,7 @@ test incr-2.13 {incr command (not compiled): simple but new (unknown) local name } catch {p} msg set msg -} {can't read "bar": no such variable} +} {1} test incr-2.14 {incr command (not compiled): simple local name, >255 locals} { proc 260locals {} { set z incr |