[pypy-commit] pypy default: typo (would generate two semicolons in the C sources)
arigo
pypy.commits at gmail.com
Thu Aug 22 05:39:51 EDT 2019
Author: Armin Rigo <arigo at tunes.org>
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
More information about the pypy-commit
mailing list