* [RFC] Adjusting position information for SmPL?
@ 2026-11-29 14:55 Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2026-11-29 14:55 UTC (permalink / raw)
To: cocci, tools; +Cc: LKML
Hello,
The data structure “position” of the Coccinelle software contains always
the member “file” so far.
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/48e5b573a3cf6496c85bdb5c0c26820ff2f9cd06/docs/Coccilib.3cocci#L36-102
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/48e5b573a3cf6496c85bdb5c0c26820ff2f9cd06/python/python_documentation.md#user-content-coccimake_positionfl-fn-startl-startc-endl-endc
I got the impression that such position metavariables tend to refer to places
in the same source file for several use cases.
Thus I imagine that it can be helpful to avoid the copying of repeated file data.
How do you think about to refine the corresponding data model accordingly?
Regards,
Markus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-29 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 14:55 [RFC] Adjusting position information for SmPL? Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®