On 03/01/2012 12:09 AM, Nicolas Palix wrote:
Hi,
On Wed, Feb 29, 2012 at 23:19, Cyril Roelandt<[email protected]> wrote:
This shows two issues :
1) The closing brace is deleted, and then added again, but is not properly
indented. Note that :
if (...)
{
+ foo();
...
}
produces a beautiful patch. Am I doing something wrong ?
Using statement list instead of "..." does not raise this problem.
Indeed, it works, thanks ! The only problem is that I can't write :
@@
statement list SS;
@@
if (...)
{
SS when != foo();
+ foo();
}
The "when" clause just isn't expected here.
Cyril.
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)