[pypy-commit] cffi default: Fix

arigo noreply at buildbot.pypy.org
Sat Jan 18 18:39:59 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1456:7eb548fec961
Date: 2014-01-18 18:39 +0100
http://bitbucket.org/cffi/cffi/changeset/7eb548fec961/

Log:	Fix

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -3785,6 +3785,7 @@
                     PyErr_Format(PyExc_TypeError,
                                  "field '%s.%s' is declared with :0",
                                  ct->ct_name, PyText_AS_UTF8(fname));
+                    goto error;
                 }
                 if (!(sflags & SF_MSVC_BITFIELDS)) {
                     /* GCC's notion of "ftype :0;" */


More information about the pypy-commit mailing list