MetaAttribute is added to the SmPL AST. Reflect these changes in index.ml. Signed-off-by: Jaskaran Singh <jaskaran.si...@collabora.com> --- parsing_cocci/index.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/parsing_cocci/index.ml b/parsing_cocci/index.ml index cb3ac7ecd..ca54bc85d 100644 --- a/parsing_cocci/index.ml +++ b/parsing_cocci/index.ml @@ -5,7 +5,7 @@ *) (* create an index for each constructor *) -(* current max is 192, also unused: 8-9, 15, 40, 42, 46, 57, 65, 85-86, +(* current max is 192, also unused: 8-9, 15, 42, 46, 57, 65, 85-86, 113-115, 140, 162 *) (* doesn't really work - requires that identical terms with no token @@ -232,6 +232,7 @@ let string_fragment f = let attribute a = match Ast0.unwrap a with Ast0.Attribute(attr) -> [39] + | Ast0.MetaAttribute(name,_,_) -> [40] let top_level t = match Ast0.unwrap t with -- 2.21.3 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci