Re: [cocci] Python script interacting with non-matching files?
Markus Elfring <[email protected]> Fri, 13 Mar 2026 14:50:59 +0100
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
> Similarly, can a python script tell that parsing failed for a particular file? The available programming interfaces are probably improvable. https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/233b5ceb1d5a701fb270ebdf0a9bd6be0a6ce53b/docs/manual/spatch_options.tex#L72-73 An other parsing technology can eventually be also more helpful. https://en.wikipedia.org/wiki/Comparison_of_parser_generators Regards, Markus