Introduction of recent patches[1][2][3] for adding additional attributes to the
SmPL AST introduced some poor management of attributes in the following files:
parsing_cocci/context_neg.ml
parsing_cocci/arity.ml
parsing_cocci/unify_ast.ml
This patch series is for fixing these issues, by modifying cases wherever
necessary.
[1]
[PATCH v3 00/23] cocci: Add parameter attributes to SmPL
https://lore.kernel.org/cocci/[email protected]/T/#t
[2]
[PATCH v3 00/32] cocci: Add cast attributes to C and SmPL ASTs
https://lore.kernel.org/cocci/[email protected]
[3]
[PATCH 00/30] cocci: Add macrodecl attributes to C and SmPL ASTs
https://lore.kernel.org/cocci/[email protected]
Jaskaran Singh (3):
parsing_cocci: arity: Apply mcode2arity on macrodecl/param attrs
parsing_cocci: context_neg: Apply equal_mcode for cast/param attrs
parsing_cocci: unify_ast: Apply unify_mcode to macrodecl attrs
arity.ml | 26 ++++++++++++++++++--------
context_neg.ml | 12 ++++++++----
unify_ast.ml | 3 ++-
3 files changed, 28 insertions(+), 13 deletions(-)
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci