[pypy-svn] r62051 - pypy/trunk/pypy/rpython/tool

afa at codespeak.net afa at codespeak.net
Fri Feb 20 15:57:50 CET 2009


Author: afa
Date: Fri Feb 20 15:57:48 2009
New Revision: 62051

Modified:
   pypy/trunk/pypy/rpython/tool/rffi_platform.py
Log:
fix typo in assertion


Modified: pypy/trunk/pypy/rpython/tool/rffi_platform.py
==============================================================================
--- pypy/trunk/pypy/rpython/tool/rffi_platform.py	(original)
+++ pypy/trunk/pypy/rpython/tool/rffi_platform.py	Fri Feb 20 15:57:48 2009
@@ -510,7 +510,7 @@
         name = '%s_%d' % (prefix, i)
     field = Field(name, ctype)
     for i in range(offset, offset+size):
-        assert layout[i] is None, "%s overlaps %r" % (fieldname, layout[i])
+        assert layout[i] is None, "%s overlaps %r" % (name, layout[i])
         layout[i] = field
     return field
 



More information about the Pypy-commit mailing list