Hi, guys:
   I have two rules:

@module_intf@
declarer name module_init;
declarer name module_exit;
identifier fn_init;
identifier fn_exit;
@@
(
- module_init(fn_init);
|
- module_exit(fn_exit);
)

@@
identifier module_intf.fn_init;
@@
- int  fn_init(void) {...}

Can I seperate them to 2 cocci files? Is there any mechanism like "#inclue" in C?

thanks.


_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to