On Thu, 2 Feb 2012, Mansour Moufid wrote:

Hello,

I'm trying to use the comma operator in a patch. For example:

   @@
   identifier x;
   @@
   - x = 5;
   + x = (3, 5);

to patch:

   int main(void) {
       int x;
       x = 5;
       return 0;
   }

I get a parse error... Is it possible to use the comma operator in a
patch at all?

Not at the moment.  I can try to add it.

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

Reply via email to