Author: Armin Rigo <[email protected]>
Branch:
Changeset: r97238:c0c361423879
Date: 2019-08-22 11:39 +0200
http://bitbucket.org/pypy/pypy/changeset/c0c361423879/
Log: typo (would generate two semicolons in the C sources)
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
@@ -562,7 +562,7 @@
return '%s = %d;' % (self.expr(op.result),
ARRAY.length)
else:
- return self.generic_get(op, '%s->length;' % self.expr(op.args[0]))
+ return self.generic_get(op, '%s->length' % self.expr(op.args[0]))
def OP_GETARRAYITEM(self, op):
ARRAY = self.lltypemap(op.args[0]).TO
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit