[pypy-svn] r71061 - pypy/trunk/pypy/translator/c/src
arigo at codespeak.net
arigo at codespeak.net
Tue Feb 2 16:04:46 CET 2010
Author: arigo
Date: Tue Feb 2 16:04:45 2010
New Revision: 71061
Modified:
pypy/trunk/pypy/translator/c/src/debug_traceback.h
Log:
Fix traceback printing.
Modified: pypy/trunk/pypy/translator/c/src/debug_traceback.h
==============================================================================
--- pypy/trunk/pypy/translator/c/src/debug_traceback.h (original)
+++ pypy/trunk/pypy/translator/c/src/debug_traceback.h Tue Feb 2 16:04:45 2010
@@ -109,6 +109,8 @@
else
{
/* line "NULL, &KeyError" or "RERAISE, &KeyError" */
+ if (!my_etype)
+ my_etype = etype;
if (etype != my_etype)
{
fprintf(stderr, " Note: this traceback is "
More information about the Pypy-commit
mailing list