cannot attach attributes to nodes of type '<class 'pycparser.c_ast.PtrDecl'>' #68
Replies: 10 comments
-
Did you try this with the git version? @vijunag contributed code recently that might do what you want. At any rate, I've gone ahead and released 2016.1. Let me know if that fixes your issue. |
Beta Was this translation helpful? Give feedback.
-
this is git master latest . On Sat, Apr 2, 2016 at 11:49 AM, Andreas Klöckner [email protected]
James Michael DuPont |
Beta Was this translation helpful? Give feedback.
-
Thanks for the report. I'd be happy to consider a patch. |
Beta Was this translation helpful? Give feedback.
-
The latest master seems to be working fine for me. |
Beta Was this translation helpful? Give feedback.
-
@inducer He doesn't seem to be having my patch looks like since the code at the backtrace is at a different line. File "/home/jamesmikedupont/py/pycparserext/pycparserext/ext_c_parser.py", line 282, in p_declarator_2 |
Beta Was this translation helpful? Give feedback.
-
I just checked all the versions. my branch is up to date with my tests. it says ply$ git log -1
pycparser$ git log -1 jamesmikedupont@instance-3:~/py/pycparserext$ python test.py
|
Beta Was this translation helpful? Give feedback.
-
Interesting. I just did a clone of latest pycparser and below are the yacc_debug logs and I didn't notice any "unreachable production error"
Also, I suggest you to use the ply/lex tha came along with cparser.
|
Beta Was this translation helpful? Give feedback.
-
On Sun, Apr 3, 2016 at 1:35 AM, vijunag [email protected] wrote:
Hi, I dont need this right now, I am reporting what I found. Please give it James Michael DuPont |
Beta Was this translation helpful? Give feedback.
-
Cool. Thanks much for the report anyway. |
Beta Was this translation helpful? Give feedback.
-
May I know how you solve this problem? thank u |
Beta Was this translation helpful? Give feedback.
-
typedef int wchar_t;
extern wchar_t *wcscpy (wchar_t **restrict __dest,
const wchar_t __restrict __src) __attribute ((nothrow , leaf));
Beta Was this translation helpful? Give feedback.
All reactions