>> How should the "file end" be expressed for the semantic patch language? > > There is no convenient way to express this. You could perhaps match all > of the function definitions, find their line numbers, and put something > after the last one.
Thanks for your feedback. How are the chances to extend the SmPL capabilities for matching of special positional constraints? Are we looking for the support of functionality which is similar to the use of the search operator "$" within regular expressions? http://www.regular-expressions.info/anchors.html Would it make sense to clarify any further extensions? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
