On Mon, 18 May 2020, Markus Elfring wrote: > >> 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? This is not Coccinelle's problem. A developer can run a compiler to check for parsing errors. julia _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
- Re: [Cocci] How to match function calls in macros? Julia Lawall
- Re: [Cocci] How to match function calls in macros? Chuhong Yuan
- Re: [Cocci] How to match function calls in macros? Julia Lawall
- Re: [Cocci] How to match function calls in mac... Chuhong Yuan
- Re: [Cocci] How to match function calls in macros? Markus Elfring
- Re: [Cocci] How to match function calls in macros? Markus Elfring
- Re: [Cocci] How to match function calls in macros? Julia Lawall
- Re: [Cocci] How to match function calls in macros? Markus Elfring
- Re: [Cocci] How to match function calls in mac... Julia Lawall
- Re: [Cocci] How to match function calls in... Markus Elfring
- Re: [Cocci] How to match function cal... Julia Lawall
- Re: [Cocci] How to match function... Markus Elfring
- Re: [Cocci] How to match function... Julia Lawall
- Re: [Cocci] How to match function... Markus Elfring
- Re: [Cocci] How to match function... Markus Elfring
- Re: [Cocci] How to match function... Julia Lawall
- Re: [Cocci] How to match function... Markus Elfring
- Re: [Cocci] How to match function... Julia Lawall
- Re: [Cocci] How to match function... Markus Elfring
- Re: [Cocci] How to match function calls in... Markus Elfring
