MetaAttributeVal is added to the C AST. Reflect these changes in run_ocamlcocci.ml.
Signed-off-by: Jaskaran Singh <jaskaran.si...@collabora.com> --- ocaml/run_ocamlcocci.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/ocaml/run_ocamlcocci.ml b/ocaml/run_ocamlcocci.ml index 065428391..14decf886 100644 --- a/ocaml/run_ocamlcocci.ml +++ b/ocaml/run_ocamlcocci.ml @@ -76,6 +76,7 @@ let ast_binding vl = function | Ast_c.MetaStmtListVal(stm,_) -> Coccilib.StmtList stm | Ast_c.MetaFragListVal frags -> Coccilib.FragList frags | Ast_c.MetaFmtVal fmt -> Coccilib.Fmt fmt + | Ast_c.MetaAttributeVal attr -> Coccilib.Attribute attr | Ast_c.MetaNoVal -> failwith "no value for script metavariable" | Ast_c.MetaComValList l -> Coccilib.AstCom l -- 2.21.3 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci