If you remove the space between "<+" and "..." your example works just fine.

Thanks for your hint.

Are there any chances to make the presented error message "minus: parse error" easier to understand?

Would you like to support additional whitespace characters between the brackets (<+, +>) and the ellipsis? By the way: Is the character U+2026 also accepted as a horizontal ellipsis (instead of three dots) by the grammar of the semantic patch language?


Anyway, you may also want to consider cases where the result of the function is 
assigned to a variable that is unused.

Yes. - I'm also interested in further adjustments of the SmPL approach in this direction.
How can variable assignments chains be properly handled?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to