Macrodecl attributes are added to the SmPL AST. Reflect these changes in type_infer.ml.
Signed-off-by: Jaskaran Singh <[email protected]> --- parsing_cocci/type_infer.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsing_cocci/type_infer.ml b/parsing_cocci/type_infer.ml index e8aad810..34c4aa31 100644 --- a/parsing_cocci/type_infer.ml +++ b/parsing_cocci/type_infer.ml @@ -380,7 +380,7 @@ let rec propagate_types env = | Ast0.UnInit(_,ty,id,_,_) -> List.map (function i -> (i,ty)) (strip id) | Ast0.FunProto(fi,nm,lp,params,va,rp,sem) -> [] - | Ast0.MacroDecl(_,_,_,_,_,_) -> [] + | Ast0.MacroDecl(_,_,_,_,_,_,_) -> [] | Ast0.MacroDeclInit(_,_,_,_,_,_,exp,_) -> let _ = (propagate_types env).VT0.combiner_rec_initialiser exp in [] -- 2.21.1 _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
