2010/6/18 Julia Lawall <[email protected]>: > It can be useful to define a python function, which you can put under > @initialize:pyt...@. Then even though you need a separate rule fo each > case, you can juust call your python function, which is easier than > duplicating the code.
That's precisley what I do now. Our message must have crossed-each other :-) > You may also find it useful to put the > @initialize:python@ code in a separate file, and then include it using > #include Will do, that too. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
