>> How would (or should) the Coccinelle software handle the mentioned search >> pattern >> if such a line continuation indication was omitted between a macro >> declaration >> and subsequent source code? > > The macro ends at the first line that doesn't end with a \
This is fine. > If the developer forgets the \ there would likely be a parsing problem. I find it helpful to clarify parsing challenges around such an use case. It might occasionally be relevant if a line continuation indication was accidentally forgotten or was intentionally omitted. * Source code review should point such questionable places out, shouldn't it? * How much does this implementation detail matter for the safe application of the semantic patch language? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
