No, I think it would be difficult. Yacc-like parsers are not always so helpful
in this respect.
Would you like to consider alternative tools for improved error reporting from
source code parsing?
On the other hand, nothing is done behind the scenes to help you.
Thanks for your clarification.
Now I am looking for a way to make the analysis and matching of connected
variable assignments easier. If the suggested filter pattern should become
mostly safe, I see a need to handle the special use case when a return value is
forwarded through several variables until it will be finally used by a
conditional expression or a function call parameter.
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)