Release coccinelle-0.2.3rc2
[bpt/coccinelle.git] / parsing_c / unparse_cocci.mli
index 2d64261..73200a4 100644 (file)
@@ -1,16 +1,18 @@
 exception CantBeInPlus
 
 type pos = Before | After | InPlace
+type nlhint = StartBox | EndBox | SpaceOrNewline of string ref
 
 val pp_list_list_any :
-  Ast_c.metavars_binding *
+  Ast_c.metavars_binding list *
   (* pr cocci *)
-  (string -> int (*line*) -> int (*lcol*) -> int (*rcol*) -> unit) *
+  (string -> int (*line*) -> int (*lcol*) -> int (*rcol*) -> nlhint option
+    -> unit) *
     (Ast_c.info -> unit) (* pr c *) *
     (unit -> unit) (* pr C space *) *
     (unit -> unit) (* pr space *) *
     (string -> unit) (* pr arity *) *
     (int (*line*) -> int (*lcol*) -> unit) (* pr barrier *) *
-    (unit -> unit) (* indent *) * (unit -> unit) (* unindent *) -> 
+    (unit -> unit) (* indent *) * (bool -> unit) (* unindent *) ->
   bool (*true if generating*) -> Ast_cocci.anything list list -> pos ->
   unit