MetaAttribute is added to the SmPL AST. Reflect these changes in ast0toast.ml.
Signed-off-by: Jaskaran Singh <jaskaran.si...@collabora.com> --- parsing_cocci/ast0toast.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parsing_cocci/ast0toast.ml b/parsing_cocci/ast0toast.ml index b4b7600ed..16a2ffd30 100644 --- a/parsing_cocci/ast0toast.ml +++ b/parsing_cocci/ast0toast.ml @@ -1200,7 +1200,9 @@ and fninfo = function and attribute a = rewrap a no_isos (match Ast0.unwrap a with - Ast0.Attribute(attr) -> Ast.Attribute(mcode attr)) + Ast0.Attribute(attr) -> Ast.Attribute(mcode attr) + | Ast0.MetaAttribute(name,cstr,_) -> + Ast.MetaAttribute(mcode name,constraints cstr,unitary,false)) and option_to_list = function Some x -> [x] -- 2.21.3 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci