diff options
author | mdejong <mdejong> | 2003-02-06 22:44:56 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-02-06 22:44:56 (GMT) |
commit | 8a99de882edc8565ff543a67a58e02f5f517ba7c (patch) | |
tree | df7b90a9df2be40d32ff63faf11c6adc5c8ea2fd /generic/tclCompCmds.c | |
parent | d42212caff8b39b67e45ffb2f80c0ca9123a7cae (diff) | |
download | tcl-8a99de882edc8565ff543a67a58e02f5f517ba7c.zip tcl-8a99de882edc8565ff543a67a58e02f5f517ba7c.tar.gz tcl-8a99de882edc8565ff543a67a58e02f5f517ba7c.tar.bz2 |
* generic/tclExecute.c (TclExecuteByteCode): When an
error is encountered reading the increment value during
a compiled call to incr, add a "(reading increment)"
error string to the errorInfo variable. This makes
the errorInfo variable set by the compiled incr command
match the value set by the non-compiled version.
* tests/incr-old.test: Change errorInfo result for
the compiled incr command case to match the modified
implementation.
* tests/incr.test: Add tests to make sure the compiled
and non-compiled errorInfo messages are the same.
Diffstat (limited to 'generic/tclCompCmds.c')
0 files changed, 0 insertions, 0 deletions