The SmPL AST0 visitor has a function for attributes. Reflect these
changes in single_statement.ml.

Signed-off-by: Jaskaran Singh <[email protected]>
---
 parsing_cocci/single_statement.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parsing_cocci/single_statement.ml 
b/parsing_cocci/single_statement.ml
index df50df6a..0b192a94 100644
--- a/parsing_cocci/single_statement.ml
+++ b/parsing_cocci/single_statement.ml
@@ -463,7 +463,7 @@ and contains_only_minus =
     dots dots dots dots dots dots dots dots dots
     identifier expression donothing donothing typeC donothing donothing
     declaration field donothing statement donothing case_line donothing
-    donothing
+    donothing donothing
 
 
 (* needs a special case when there is a Disj or an empty DOTS *)
-- 
2.21.3

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

Reply via email to