All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Lukas Straub <lukasstraub2@web.de>
Cc: cocci@systeme.lip6.fr
Subject: Re: [Cocci] Matching attributes
Date: Sat, 9 Jan 2021 08:34:19 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2101090833410.2803@hadrien> (raw)
In-Reply-To: <20210109004841.34cb9174@gecko.fritz.box>

> But this fails:
>
>  @@
>  type T;
>  identifier var;
>  attribute name autofree;
>  @@
>
>     T var autofree;
>     ...
>  ++ free(var);
>     return ...;
>
> with
>
>  minus: parse error:
>    File "autofree.cocci", line 7, column 17, charpos = 73
>    around = ';',
>    whole content =    T var autofree;
>
> What am I doing wrong here?
> I tried both with v1.0.8 and latest git.

Thanks for the report.  I will look into it.

julia
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

      reply	other threads:[~2021-01-09  7:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08 23:48 [Cocci] Matching attributes Lukas Straub
2021-01-09  7:34 ` Julia Lawall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2101090833410.2803@hadrien \
    --to=julia.lawall@inria.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=lukasstraub2@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.