>> Should the software be able to determine just the amount of script code
>> between the curly brackets?
>
> What if there is a string or comment inside the script code, ant it
> contains only a }?
I suggest to consider corresponding escaping (or quoting) of questionable text.
> Anyway the problem is that the Coccinelle lexer doesn't know that it is
> looking at script code, or eg {} around a selection of types.
Can the parser component become better accordingly?
>> Will a SmPL child process get a chance to perform customised finalisation
>> code?
>> Would you like to continue the clarification according to a topic
>> like “Complete support for fork-join work flows”?
>> https://github.com/coccinelle/coccinelle/issues/50
>
> Those issues are addressed by the use of the merge functionality.
I have still got understanding difficulties for the previously mentioned test
script.
https://github.com/coccinelle/coccinelle/blob/175de16bc7e535b6a89a62b81a673b0d0cd7075c/tests/merge_vars_python.cocci#L1
How will the software documentation become finally complete also for this issue?
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci