On Mon, 19 Dec 2011, SF Markus Elfring wrote:

when != switch (<+...y...+>) { case ... : ... }

Is the shown constraint specification the shortest one for this conditional
statement that is possible in the context of the semantic patch language?

It's not possible just to put ... ?

Thanks for this explanation.

Is it eventually needed to consider the pattern that the key word "default" is used without a case label before?

If you put switch (...) { ... } it shouldn't matter about case or default.

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

Reply via email to