[pypy-issue] [issue1698] cffi.FFI.cdef fails when source string contains $ symbols

dmlockhart tracker at bugs.pypy.org
Wed Mar 5 20:13:35 CET 2014


New submission from dmlockhart <dmlockhart+pypy at gmail.com>:

I get the following error when trying to parse C source containing $ symbols:

E       CDefError: cannot parse "unsigned int   _top_in_$000_msg,"
E       :6:25: Illegal character '$'

This works using cffi-0.8.1 in CPython, so I suspect newer version of 
pycparser/cffi fix this issue.  Unfortunately, there doesn't seem to be a way to 
force pypy to use newer versions of cffi since it is integrated in lib_pypy.

----------
messages: 6563
nosy: dmlockhart, pypy-issue
priority: bug
status: unread
title: cffi.FFI.cdef fails when source string contains $ symbols

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1698>
________________________________________


More information about the pypy-issue mailing list