Right... I knew there was something. I've tried generating the wrappers with
a simple Perl script (a while ago now) and some regexes and I remember now
that that was an issue I ran into. Plus regexes are not a good way to try
and generate an AST :-) Thanks, Simon


On Tue, Aug 23, 2011 at 12:06 PM, Julia Lawall <[email protected]> wrote:

> Actually, putting all of the functions at the end of the file will not
> work well due to #ifdefs.  Coccinelle will not know which ifdefs the
> function definition should take with it.
>
> julia
>
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to