Comments attached to identifiers via OCaml/Python bindings can be helpful in using Coccinelle for source code analysis. Users of SmPL can attach these comments to identifiers for denoting some information.
This patch series is for handling these comments and adding a corresponding test case for cases that previously caused pretty printing errors parsing_c/unparse_cocci.ml | 32 +++++++++++++++++++++++++++++--- tests/id_comments.c | 4 ++++ tests/id_comments.cocci | 19 +++++++++++++++++++ tests/id_comments.res | 6 ++++++ 4 files changed, 58 insertions(+), 3 deletions(-) _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
