On Fri, 17 Dec 2010, Michael T wrote: > Michael T <raselmsh <at> hotmail.com> writes: > > Julia Lawall <julia <at> diku.dk> writes: > > > It looks like I need ~ too? (I don't know C++ at all :) > > Right. Sorry, forgot that one. > > I could imagine that supporting macros-as-types might be a bigger issue > though, > as it could mean a more fundamental change to the parsing. That is something > that we do a lot, but I don't know how widespread it is elsewhere.
What do you mean by macros-as-types? If it's just your RETVAL, that's no problem at all, unless you actually want to transform the argument. If a macro needs a definition in the file that is given with the argument -macro_file, then it is not possible to transform the arguments of that macro. julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
