Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-07-16 | core: Jim_SetVariable() now frees value on error | Steve Bennett | 1 | -0/+9 | |
If the value has a zero reference count, free it in the error path. Otherwise callers can't do: Jim_SetVariable(..., Jim_New...()) in case the object is leaked in the error path. Fix various callers that were previously freeing the object in the error path, and add a test to loop.test to show that this was not. Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2020-12-26 | loop: Allow start value to be omitted | Steve Bennett | 1 | -0/+8 | |
It is convenient to be able to do just: loop i 5 { body } Where the start value is 0. Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2011-06-10 | Add TclX-compatible loop command | Steve Bennett | 1 | -0/+152 | |
Signed-off-by: Steve Bennett <steveb@workware.net.au> |