MetaAttributeVal is added to the C AST. Reflect these changes in pattern_c.ml.
Signed-off-by: Jaskaran Singh <jaskaran.si...@collabora.com> --- engine/pattern_c.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/engine/pattern_c.ml b/engine/pattern_c.ml index 821a5900e..7d9a2dcc1 100644 --- a/engine/pattern_c.ml +++ b/engine/pattern_c.ml @@ -538,6 +538,12 @@ module XMATCH = struct (if strip then Lib_parsing_c.al_string_format a else Lib_parsing_c.semi_al_string_format a)) + | Ast_c.MetaAttributeVal a -> + success + (Ast_c.MetaAttributeVal + (if strip + then Lib_parsing_c.al_attribute a + else Lib_parsing_c.semi_al_attribute a)) | Ast_c.MetaPosVal (pos1,pos2) -> success(Ast_c.MetaPosVal (pos1,pos2)) -- 2.21.3 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci