Author: Antonio Cuni <[email protected]>
Branch: gc-hook-better-timestamp
Changeset: r94373:de012a2f02b6
Date: 2018-04-18 11:03 +0200
http://bitbucket.org/pypy/pypy/changeset/de012a2f02b6/
Log: bad me, no cookie; test_debug_print_start_stop_nonconst was broken,
and translation as well
diff --git a/rpython/translator/c/funcgen.py b/rpython/translator/c/funcgen.py
--- a/rpython/translator/c/funcgen.py
+++ b/rpython/translator/c/funcgen.py
@@ -822,7 +822,7 @@
string_literal,
self.expr(v_timestamp))
else:
- x = "%s = %s(RPyString_AsCharP(%s, %s));\n" %
(self.expr(op.result),
+ x = "%s = %s(RPyString_AsCharP(%s), %s);\n" %
(self.expr(op.result),
macro,
self.expr(v_cat),
self.expr(v_timestamp))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit