Quoting ron minnich <[email protected]>:

I have something like this, after transformation:

int x(..){

label:
}

is there a simple rule to delete that label?

I guess it is a label that no one jumps to? You could use a position variable to record the labels that there is a jump to, eg

goto l;
...
l@p:

and then remove labels that are not marked by this position variable.

julia



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

Reply via email to