On Tue, May 28, 2019 at 5:12 PM Julia Lawall <[email protected]> wrote:
>
> Try --smpl-spacing.  You will need to make all the spacing in the semantic
> patch in the way that you want it to appear in the generated code.

I got weird results with that:

+                if (p == NULL)
+{
+                    status = ERROR;
+                    goto func_exit;
+                }

I tried inserting tab characters before the { in my script, but it
didn't do anything.  The { line is flush-left, and the rest of the
lines are indented properly.
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to