You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by bu...@apache.org on 2015/05/01 02:41:26 UTC

[Bug 57501] abort_page does not stop page execution after a call to ::rivet::parse

https://bz.apache.org/bugzilla/show_bug.cgi?id=57501

Massimo Manghi <mx...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #32688|0                           |1
        is obsolete|                            |

--- Comment #24 from Massimo Manghi <mx...@apache.org> ---
Created attachment 32709
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32709&action=edit
Checking abort condition when rolling back through the call stack to prevent
spurious error handling

This patch uses the globals->page_aborting flag to check if the TCL_ERROR
status was returned after calling abort_page. Thus calling abort_page within a
nested template shouldn't result in a Tcl error. Please let me know

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org