[aspectc-user] Matching an expression statement

Markus Elfring Markus.Elfring at web.de
Fri Dec 30 13:45:13 CET 2011


> Can you help with an aspect which can replace an expression statement like "i++;"
> with function call.
[...]
> Is there any other way?

Yes. - I see another possibility if you can limit the affected source files to 
the feature set of the programming language "C".

I hope that you do not mind if I suggest to try out an alternative tool like 
"spatch" besides AspectC++ eventually. Would you like to apply the semantic 
patch language for some use cases?
http://coccinelle.lip6.fr/

Regards,
Markus



More information about the aspectc-user mailing list