The SmPL AST visitor has a function for attributes. Reflect these
changes in asttomember.ml.

Signed-off-by: Jaskaran Singh <[email protected]>
---
 engine/asttomember.ml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/engine/asttomember.ml b/engine/asttomember.ml
index a893a833..05896443 100644
--- a/engine/asttomember.ml
+++ b/engine/asttomember.ml
@@ -48,7 +48,7 @@ let contains_modif used_after x =
        do_nothing do_nothing do_nothing do_nothing do_nothing do_nothing
        do_nothing do_nothing do_nothing
        do_nothing do_nothing rule_elem do_nothing do_nothing do_nothing
-       do_nothing in
+       do_nothing do_nothing in
     recursor.V.combiner_rule_elem x
 
 (* contains an inherited metavariable or contains a constant *)
@@ -76,7 +76,7 @@ let contains_constant x =
          ident expr do_nothing do_nothing do_nothing do_nothing do_nothing
          do_nothing do_nothing do_nothing do_nothing do_nothing do_nothing
          do_nothing do_nothing do_nothing do_nothing do_nothing do_nothing
-         do_nothing do_nothing in
+         do_nothing do_nothing do_nothing in
       recursor.V.combiner_rule_elem x
   | _ -> true
 
@@ -138,7 +138,7 @@ let strip x =
       do_nothing do_nothing do_nothing do_nothing do_nothing do_nothing
       decl_or_field do_absolutely_nothing decl_or_field do_absolutely_nothing
       do_nothing rule_elem
-      do_nothing do_nothing do_nothing do_absolutely_nothing in
+      do_nothing do_nothing do_nothing do_nothing do_absolutely_nothing in
   r.V.rebuilder_rule_elem x
 
 (* --------------------------------------------------------------------- *)
@@ -205,7 +205,7 @@ let find_commonalities res : Ast_cocci.rule_elem option =
        do_nothing do_nothing
        expression do_nothing do_nothing do_nothing do_nothing
        do_nothing do_nothing do_nothing do_nothing do_nothing do_nothing
-       do_nothing do_nothing do_nothing
+       do_nothing do_nothing do_nothing do_nothing
        do_nothing do_nothing do_nothing do_nothing do_nothing do_nothing in
     recursor.V.combiner_rule_elem x in
   match res with
-- 
2.21.3

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

Reply via email to