[pypy-svn] r35448 - pypy/dist/pypy/translator/tool
mwh at codespeak.net
mwh at codespeak.net
Thu Dec 7 18:34:54 CET 2006
Author: mwh
Date: Thu Dec 7 18:34:53 2006
New Revision: 35448
Modified:
pypy/dist/pypy/translator/tool/make_dot.py
Log:
like r35447 but with more effort
Modified: pypy/dist/pypy/translator/tool/make_dot.py
==============================================================================
--- pypy/dist/pypy/translator/tool/make_dot.py (original)
+++ pypy/dist/pypy/translator/tool/make_dot.py Thu Dec 7 18:34:53 2006
@@ -192,7 +192,7 @@
name2 = self.blockname(link.target)
label = " ".join(map(repr, link.args))
if link.exitcase is not None:
- label = "%r: %s" %(link.exitcase, label)
+ label = "%s: %s" %(repr(link.exitcase).replace('\\', '\\\\'), label)
self.emit_edge(name, name2, label, style="dotted", color="red")
else:
self.emit_edge(name, name2, label, style="solid")
More information about the Pypy-commit
mailing list