Macrodecl attributes are added to the C and SmPL ASTs. Reflect these changes in coccilib.mli.
Signed-off-by: Jaskaran Singh <[email protected]> --- ocaml/coccilib.mli | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ocaml/coccilib.mli b/ocaml/coccilib.mli index 5e31eec3..264c01b2 100644 --- a/ocaml/coccilib.mli +++ b/ocaml/coccilib.mli @@ -288,7 +288,9 @@ module Ast_c : and declaration = Ast_c.declaration = DeclList of onedecl wrap2 list wrap - | MacroDecl of (storagebis * string * argument wrap2 list * bool) wrap + | MacroDecl of + (storagebis * string * argument wrap2 list * attribute list * bool) + wrap | MacroDeclInit of (storagebis * string * argument wrap2 list * initialiser) wrap and onedecl = @@ -2765,7 +2767,7 @@ module Ast_cocci : (string mcode * string mcode) option * string mcode * string mcode | TyDecl of fullType * string mcode | MacroDecl of storage mcode option * ident * string mcode * - expression dots * string mcode * string mcode + expression dots * string mcode * attr list * string mcode | MacroDeclInit of storage mcode option * ident * string mcode * expression dots * string mcode * string mcode * initialiser * string mcode @@ -3400,7 +3402,7 @@ module Ast0_cocci : (string mcode * string mcode) option * string mcode * string mcode | TyDecl of typeC * string mcode | MacroDecl of Ast_cocci.storage mcode option * ident * string mcode * - expression dots * string mcode * string mcode + expression dots * string mcode * attr list * string mcode | MacroDeclInit of Ast_cocci.storage mcode option * ident * string mcode * expression dots * string mcode * string mcode * initialiser * string mcode -- 2.21.1 _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
