AttributeTag is added to SmPL AST0. Reflect these changes in
visitor_ast0.ml.

Signed-off-by: Jaskaran Singh <[email protected]>
---
 parsing_cocci/visitor_ast0.ml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/parsing_cocci/visitor_ast0.ml b/parsing_cocci/visitor_ast0.ml
index 090fe625..e45f9241 100644
--- a/parsing_cocci/visitor_ast0.ml
+++ b/parsing_cocci/visitor_ast0.ml
@@ -1328,6 +1328,9 @@ let visitor mode bind option_default
       | Ast0.StringFragmentTag(f) ->
          let (f_n,f) = string_fragment f in
          (f_n,Ast0.StringFragmentTag(f))
+      | Ast0.AttributeTag(a) ->
+         let (a_n,a) = attribute a in
+         (a_n,Ast0.AttributeTag(a))
       | Ast0.TopTag(top) ->
          let (top_n,top) = top_level top in
          (top_n,Ast0.TopTag(top))
-- 
2.21.3

_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to