AttributeTag is added to the SmPL ASTs. Reflect these changes in ast0toast.ml.
Signed-off-by: Jaskaran Singh <[email protected]> --- parsing_cocci/ast0toast.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/parsing_cocci/ast0toast.ml b/parsing_cocci/ast0toast.ml index 4ccc259b..b4b7600e 100644 --- a/parsing_cocci/ast0toast.ml +++ b/parsing_cocci/ast0toast.ml @@ -1264,6 +1264,7 @@ and anything = function | Ast0.ForInfoTag(d) -> Ast.ForInfoTag(forinfo d) | Ast0.CaseLineTag(d) -> Ast.CaseLineTag(case_line d) | Ast0.StringFragmentTag(d) -> Ast.StringFragmentTag(string_fragment d) + | Ast0.AttributeTag(d) -> Ast.AttributeTag(attribute d) | Ast0.TopTag(d) -> Ast.Code(top_level d) | Ast0.IsoWhenTag(_) -> failwith "not possible" | Ast0.IsoWhenTTag(_) -> failwith "not possible" -- 2.21.3 _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
