Skip to contentSkip to conversation

C parse error: multiplication with pointer dereference

Cocci Michael Stefaniuc 2 participants 2 messages Feb 6, 2013

lore
Share & tools
lore
#1 lore raw
Quoted 7 lines · Michael Stefaniuc

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.

It looks like a parsing hack gone wrong. We will look into it.

julia