Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6dec3adb7f8a78b98a2e8457e08d75181357856
Ticket: 1957356fffffffffffffffffffffffffffffffff
'error' command isn't called for syntax error (Tcl_Main)
User & Date: yurivict on 2008-05-04 18:10:13
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I have Tcl_Main-based application.
    Script has some syntax error that causes TCL to exit.
    I redefined 'exit' command (with Tcl_CreateObjCommand) expecting that it will be called. But it's not being called at all.
    
    Tcl_Main(3) says:
    <skip>
    In non-interactive  mode,  after  Tcl_Main evaluates  the  startup  script,  and  the main loop procedure (if any) returns, Tcl_Main will also evaluate the exit command.
    
    
  4. foundin changed to: "obsolete: 8.4.18"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "yurivict"
  10. subsystem changed to: "None"
  11. title changed to:
    'error' command isn't called for syntax error (Tcl_Main)
    
  12. type changed to: "Bug"