Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8cedb68a3406d991f837a6fe4a0c8926cf7c308
Ticket: 1032805fffffffffffffffffffffffffffffffff
defer syntax errors to execution time
User & Date: dgp on 2004-09-22 17:13:16
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % proc test {} {
                proc if {a b} { uplevel 1 [list set $a $b] }
                set 1 {syntax {}{}}
                if 1 {syntax {}{}}
            }
    % test
    extra characters after close-brace
    
    The compile time report of the
    syntax error prevents this proc
    from running, and when it runs,
    there's no longer a syntax error.
    
    Here's a patch that defers
    syntax error reporting to
    execution time.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to: "defer syntax errors to execution time"
  11. type changed to: "Bug"