Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: julia.lawall@lip6.fr (Julia Lawall)
To: cocci@systeme.lip6.fr
Subject: [Cocci] C parse error: multiplication with pointer dereference
Date: Wed, 6 Feb 2013 10:45:57 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.02.1302061045320.1971@hadrien> (raw)
In-Reply-To: <51122558.3090509@redhat.com>

On Wed, 6 Feb 2013, Michael Stefaniuc wrote:

> Hello!
>
> I get this parse error for the attached test case:
> spatch --parse-c foo.c 2>&1 | grep BAD
> BAD:!!!!!     return i * *j;
>
> gcc -Wall -Werror has no issues with it.

It looks like a parsing hack gone wrong.  We will look into it.

julia

      reply	other threads:[~2013-02-06  9:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06  9:41 [Cocci] C parse error: multiplication with pointer dereference Michael Stefaniuc
2013-02-06  9:45 ` 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.02.1302061045320.1971@hadrien \
    --to=julia.lawall@lip6.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox