This will be matched if you put an assignment expression, ie an assignment
without the semicolon.
My analysis result is improved a bit if I omit semicolons at two line ends for
the discussed filter approach.
@@
y@p = x(...)
[...]
@@
*y@p = x(...)
Now I wonder why the assignment from "fopen" is marked while the other statement
with the "malloc" is still missing the leading minus character.
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)