Coccinnelle is always right, that's the rule.

Fixed spatch:

@@
type T;
identifier f;
@@
T f(...
+, struct errbuf *errbuf)
-)
{...}



On Wed, Aug 7, 2013 at 8:21 AM, ron minnich <[email protected]> wrote:
> I've never been sure what to do about this error:
>
> [rminnich@localhost akaros]$ spatch --sp-file !$ kern/src/chan.c
> spatch --sp-file scripts/spatch/waserror.cocci kern/src/chan.c
> init_defs_builtins: /usr/share/coccinelle/standard.h
> Fatal error: exception Failure("normal parenthesis in line 5 matched
> to disjunction parenthesis on line 7 column 0
>
> Spatch is:
>
> @@
> type T;
> identifier f;
> @@
> T F(...,
> +struct errbuf *errbuf
> ){...}
>
> What did I do wrong here?
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to