diff options
author | Eli Bendersky <eliben@gmail.com> | 2015-04-20 07:17:37 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2015-04-20 07:17:37 -0700 |
commit | fe5a248c301abacce186f5cf726e2186007451cf (patch) | |
tree | 02240a508ca8926ec2a49bb26eafb3ba91b7e303 /utils | |
parent | 8333e6c9610d1967ab6a60e8ed8ff6c2c0e8418e (diff) | |
download | pycparser-fe5a248c301abacce186f5cf726e2186007451cf.tar.gz |
Fix parsing order of nested PtrDecls
Closes #68
Diffstat (limited to 'utils')
-rw-r--r-- | utils/internal/constptr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/internal/constptr.c b/utils/internal/constptr.c new file mode 100644 index 0000000..2fe14bf --- /dev/null +++ b/utils/internal/constptr.c @@ -0,0 +1,9 @@ +void foo(char * const * arg) { + arg += 1; + (*arg) += 1; +} + +void foo2(char ** const arg) { + arg += 1; + (*arg) += 1; +} |