[Linux-kernel-mentees] [PATCH 05/27] parsing_cocci: index: Reflect struct end attributes
Jaskaran Singh
jaskaransingh7654321 at gmail.com
Sun May 31 15:25:59 UTC 2020
Struct end attributes are added to the SmPL AST. Reflect these changes
in index.ml.
Signed-off-by: Jaskaran Singh <jaskaransingh7654321 at gmail.com>
---
parsing_cocci/index.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/parsing_cocci/index.ml b/parsing_cocci/index.ml
index fc04bd6f..8df048dd 100644
--- a/parsing_cocci/index.ml
+++ b/parsing_cocci/index.ml
@@ -119,7 +119,7 @@ let declaration d =
| Ast0.FunProto(fi,name,lp1,params,va,rp1,sem) -> [132]
| Ast0.MacroDecl(stg,name,lp,args,rp,attr,sem) -> [137]
| Ast0.MacroDeclInit(stg,name,lp,args,rp,eq,ini,sem) -> [157]
- | Ast0.TyDecl(ty,sem) -> [116]
+ | Ast0.TyDecl(ty,attr,sem) -> [116]
| Ast0.Typedef(stg,ty,id,sem) -> [143]
| Ast0.DisjDecl(_,decls,_,_) -> [97] (* added after *)
| Ast0.ConjDecl(_,decls,_,_) -> [88] (* added after *)
--
2.21.1
More information about the Linux-kernel-mentees
mailing list