Coccinelle Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: mstefani@redhat.com (Michael Stefaniuc)
To: cocci@systeme.lip6.fr
Subject: [Cocci] "WEIRD: weird #pragma" and not recovering
Date: Tue, 03 Mar 2015 09:36:49 +0100	[thread overview]
Message-ID: <54F572A1.8050501@redhat.com> (raw)

Hello,

spatch --parse-c on
https://source.winehq.org/git/wine.git/blob_plain/HEAD:/include/windows.h
gives:

WEIRD: weird #pragma
WEIRD: weird #pragma
ERROR-RECOV: end of file while in recovery mode
parsing pass2: try again
ERROR-RECOV: end of file while in recovery mode
parse error
 = File "include/windows.h", line 24, column 2
4,  charpos = 1006
    around = ':', whole content = # pragma warning(disable:4116)

spatch never recovers from that error.

A description of that MSVC #pragma can be found at
https://msdn.microsoft.com/en-us/library/2c8f766e.aspx

thanks
bye
	michael

                 reply	other threads:[~2015-03-03  8:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=54F572A1.8050501@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox