All of lore.kernel.org
 help / color / mirror / Atom feed
From: mstefani@redhat.com (Michael Stefaniuc)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Parsing error for struct names starting with two underscore
Date: Fri, 04 Jan 2013 22:53:20 +0100	[thread overview]
Message-ID: <50E74F50.6000308@redhat.com> (raw)

Hello,

there seems to be an error in parsing struct/union names that start with
two underscore:

@@
struct __foo bar;
@@
* sizeof(bar)

Fatal error: exception Failure("meta: parse error:
 = File "__foo.cocci", line 2, column 7,  charpos = 10
    around = '__foo', whole content = struct __foo bar;
")

Removing one of the underscore makes it parse.

thanks
bye
	michael

             reply	other threads:[~2013-01-04 21:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 21:53 Michael Stefaniuc [this message]
2013-01-05  8:07 ` [Cocci] Parsing error for struct names starting with two underscore Julia Lawall
2013-01-05 22:48   ` Michael Stefaniuc
2013-01-06  6:21     ` Julia Lawall

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=50E74F50.6000308@redhat.com \
    --to=mstefani@redhat.com \
    --cc=cocci@systeme.lip6.fr \
    /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.