On Sat, 28 Nov 2020, Markus Elfring wrote:
> > Why do you want to remove the semicolon?
>
> I have shown a transformation example where a function parameter should be
> replaced
> by a previous function call.
> Thus a semicolon should be intentionally be deleted.
That makes no sense. You can't have an expression directly following a
statement. Only statements follow other statements.
julia
>
>
> > If you want to find the call somewhere in the next statement, you can say
> >
> > (
> > S
> > &
> > call(
> > ...
> > )
> > )
> >
> > where S is a statement metavariable.
>
> This SmPL specification variant can be also interesting.
>
> I got just interested in the possibility to omit an extra semicolon
> in my simple change approach.
>
> Regards,
> Markus
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci