Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 25d1779e29c9fad6e125eeaf94f6e9a5c31ea9c68a661a3480ee244c63afeced
Ticket: 3ed39a451f8ae9a48a221f90c7a74e2f99d8319d
Farthest failure path (FFP) tracking in PT/PEG [ssoberni-ffp-3ed39a451f]
User & Date: ssoberni 2018-06-13 14:08:01
Changes

  1. icomment:
    As hinted at in IRC, it turned out that the FFP was erroneously dropped due to using the equivalent of i_error_clear_push rather than of i_error_push in three out of four *_branch (choice) super-instructions:
    
    si:voidvalue_branch
    si:valuevoid_branch
    si:valuevalue_branch
    
    This was fixed for the TclOO and Snit RDE (the C one was not affected, naturally). NX benefits from the TclOO fix directly, as it derives from the TclOO engine.
    
    Branch ssoberni-ffp-3ed39a451f [*] contains a fix plus test. The test is WIP, because I don't exactly know how to best instrument the test runner to cover for this failure case? Here, the combined "failure" condition would be (as signalled by parset):
    
    - matched prefix ne input /xor/ suffix ne ""
    - the content of myerror with the FFP
    
    Pls. advise.
    
    [*] https://core.tcl.tk/tcllib/timeline?r=ssoberni-ffp-3ed39a451f
    
  2. login: "ssoberni"
  3. mimetype: "text/plain"
  4. title changed to:
    Farthest failure path (FFP) tracking in PT/PEG [ssoberni-ffp-3ed39a451f]