MetaAttribute is added to the SmPL AST. Reflect these changes in adjust_pragmas.ml.
Signed-off-by: Jaskaran Singh <jaskaran.si...@collabora.com> --- parsing_cocci/adjust_pragmas.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parsing_cocci/adjust_pragmas.ml b/parsing_cocci/adjust_pragmas.ml index 8f24fa718..6891d886f 100644 --- a/parsing_cocci/adjust_pragmas.ml +++ b/parsing_cocci/adjust_pragmas.ml @@ -225,6 +225,9 @@ let left_attribute attr = match Ast0.unwrap attr with Ast0.Attribute(a) -> call_right left_mcode a attr (function a -> Ast0.Attribute(a)) + | Ast0.MetaAttribute(name,a,b) -> + call_right left_mcode name attr + (function name -> Ast0.MetaAttribute(name,a,b)) let left_fundecl name fninfo = let fncall_right processor data cont = -- 2.21.3 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci