Open zehanort opened 4 years ago
I downgraded pycparser
from version 2.20 to 2.19 and it worked. Problem is that the version of pycparserext
that is available from pip
does not forbid version 2.20 of pycparser
, something that you have added in your latest commit.
Please feel free to leave the issue open or close it.
Released 2020.1 to the package index that includes the version hint on pycparser. I'll leave this open since, at some point, the incompatibility with 2.20 will need to get resolved.
I am using
pycparserext
to parse, edit and then re-generate OpenCL kernels. During the re-generation phase, with some kernels, I get the following error:This error happens only when a call to
visit_Cast
occurs somewhere along the way. Whats more, the only place wherepycparserext
is being used (and notpycparser
) seems to be the second call in the trace above. Note thatgen
comes frompycparserext
. From somewhere near the start of my script:It seems to me that your
_generate_type()
is called and not the one frompycparser
, despite the fact that the trace says otherwise, given that it is the implementation of_generate_type()
frompycparserext
(and not frompycparser
) that does not have the keyword argumentemit_declname
.