Add struct end attributes to AST0 of SmPL. This is a list of attributes in the TyDecl type of AST0.
Signed-off-by: Jaskaran Singh <jaskaransingh7654...@gmail.com> --- parsing_cocci/ast0_cocci.ml | 2 +- parsing_cocci/ast0_cocci.mli | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parsing_cocci/ast0_cocci.ml b/parsing_cocci/ast0_cocci.ml index 7714fd16..743fab86 100644 --- a/parsing_cocci/ast0_cocci.ml +++ b/parsing_cocci/ast0_cocci.ml @@ -252,7 +252,7 @@ and base_declaration = (string mcode (* , *) * string mcode (* ...... *) ) option * string mcode (* ) *) * string mcode (* ; *) - | TyDecl of typeC * string mcode (* ; *) + | TyDecl of typeC * attr list * string mcode (* ; *) | MacroDecl of Ast.storage mcode option * ident (* name *) * string mcode (* ( *) * expression dots * string mcode (* ) *) * diff --git a/parsing_cocci/ast0_cocci.mli b/parsing_cocci/ast0_cocci.mli index f4b25abc..470c837f 100644 --- a/parsing_cocci/ast0_cocci.mli +++ b/parsing_cocci/ast0_cocci.mli @@ -240,7 +240,7 @@ and base_declaration = string mcode (* ( *) * parameter_list * (string mcode (* , *) * string mcode (* ...... *) ) option * string mcode (* ) *) * string mcode (* ; *) - | TyDecl of typeC * string mcode (* ; *) + | TyDecl of typeC * attr list * string mcode (* ; *) | MacroDecl of Ast_cocci.storage mcode option * ident (* name *) * string mcode (* ( *) * expression dots * string mcode (* ) *) * -- 2.21.1 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci