All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] iteration.cocci
@ 2015-05-26 15:34 Zied Habtoul
  2015-05-26 17:17 ` Julia Lawall
  0 siblings, 1 reply; 6+ messages in thread
From: Zied Habtoul @ 2015-05-26 15:34 UTC (permalink / raw)
  To: cocci

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()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://systeme.lip6.fr/pipermail/cocci/attachments/20150526/8de78b86/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-27  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-26 15:34 [Cocci] iteration.cocci Zied Habtoul
2015-05-26 17:17 ` Julia Lawall
2015-05-26 17:57   ` Zied Habtoul
2015-05-26 19:01     ` Julia Lawall
2015-05-27  9:41     ` [Cocci] Source code analysis around function name lists SF Markus Elfring
2015-05-27  9:44       ` Julia Lawall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.