Release coccinelle-0.2.3rc4
[bpt/coccinelle.git] / parsing_cocci / ast_cocci.ml
index 8a0b283..f0861b6 100644 (file)
@@ -570,12 +570,15 @@ and rule =
        * bool list * ruletype
   | ScriptRule of string (* name *) *
       (* metaname for python (untyped), metavar for ocaml (typed) *)
-      string * dependency * (string * meta_name * metavar) list * string
+      string * dependency *
+       (script_meta_name * meta_name * metavar) list * string
   | InitialScriptRule of  string (* name *) *
        string (*language*) * dependency * string (*code*)
   | FinalScriptRule of  string (* name *) *
        string (*language*) * dependency * string (*code*)
 
+and script_meta_name = string option (*string*) * string option (*ast*)
+
 and dependency =
     Dep of string (* rule applies for the current binding *)
   | AntiDep of string (* rule doesn't apply for the current binding *)