<i>'error' command isn't called for syntax error (Tcl_Main)</i>.
by
.
D 2008-05-04T18:10:13
J assignee nobody
J cmimetype text/plain
J comment I\shave\sTcl_Main-based\sapplication.\nScript\shas\ssome\ssyntax\serror\sthat\scauses\sTCL\sto\sexit.\nI\sredefined\s'exit'\scommand\s(with\sTcl_CreateObjCommand)\sexpecting\sthat\sit\swill\sbe\scalled.\sBut\sit's\snot\sbeing\scalled\sat\sall.\n\nTcl_Main(3)\ssays:\n<skip>\nIn\snon-interactive\s\smode,\s\safter\s\sTcl_Main\sevaluates\s\sthe\s\sstartup\s\sscript,\s\sand\s\sthe\smain\sloop\sprocedure\s(if\sany)\sreturns,\sTcl_Main\swill\salso\sevaluate\sthe\sexit\scommand.\n
J foundin obsolete:\s8.4.18
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter yurivict
J subsystem None
J title 'error'\scommand\sisn't\scalled\sfor\ssyntax\serror\s(Tcl_Main)
J type Bug
K 1957356fffffffffffffffffffffffffffffffff
U yurivict
Z c8a2e7ced8d77c08f217252bfabd6644