[pypy-svn] r29767 - pypy/dist/pypy/translator/c
ludal at codespeak.net
ludal at codespeak.net
Fri Jul 7 19:02:30 CEST 2006
Author: ludal
Date: Fri Jul 7 19:02:29 2006
New Revision: 29767
Modified:
pypy/dist/pypy/translator/c/funcgen.py
Log:
fixes debugging output (thanks ericvrp for the help)
Modified: pypy/dist/pypy/translator/c/funcgen.py
==============================================================================
--- pypy/dist/pypy/translator/c/funcgen.py (original)
+++ pypy/dist/pypy/translator/c/funcgen.py Fri Jul 7 19:02:29 2006
@@ -691,7 +691,7 @@
raise Exception("don't know how to debug_print %r" % (T,))
argv.append(self.expr(arg))
return "fprintf(stderr, %s%s);" % (
- c_string_constant(' '.join(format) + '\n'),
+ c_string_constant(' '.join(format) + '\n\000'),
''.join([', ' + s for s in argv]))
def OP_DEBUG_LOG_EXC(self, op):
More information about the Pypy-commit
mailing list