C parse error: multiplication with pointer dereference
Hello!
I get this parse error for the attached test case:
spatch --parse-c foo.c 2>&1 | grep BAD
BAD:!!!!! return i * *j;
gcc -Wall -Werror has no issues with it.
thanks
bye
michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.c
Type: text/x-csrc
Size: 70 bytes
Desc: not available
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20130206/e922a328/attachment.bin>
Quoted 7 lines · Michael Stefaniuc
Hello!
I get this parse error for the attached test case:
spatch --parse-cfoo.c2>&1 | grep BAD
BAD:!!!!! return i * *j;gcc -Wall -Werror has no issues with it.
It looks like a parsing hack gone wrong. We will look into it.
julia