hello, Can you tell me please what is the function of this part in the file coccinelle/demos/iteration.cocci
virtual after_start @initialize:ocaml@@@ let tbl = Hashtbl.create(100) let add_if_not_present from f file =try let _ = Hashtbl.find tbl (f,file) in ()with Not_found -> Hashtbl.add tbl (f,file) file; let it = new iteration() in (match file with Some fl -> it#set_files [fl] | None -> ()); it#add_virtual_rule After_start; it#add_virtual_identifier Err_ptr_function f; it#register()
_______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
