Hello,

I'm trying to match the position of a struct member to be able to do something with initializations like this:

struct s {
    int a;
    int b;
}
...
struct s x = {1, 2};

Is there something like the parameter list[n] / expression list[n] for function but which operates on structs? "declaration list" isn't available.

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

Reply via email to