* [Cocci] "WEIRD: weird #pragma" and not recovering
@ 2015-03-03 8:36 Michael Stefaniuc
0 siblings, 0 replies; only message in thread
From: Michael Stefaniuc @ 2015-03-03 8:36 UTC (permalink / raw)
To: cocci
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-03 8:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-03 8:36 [Cocci] "WEIRD: weird #pragma" and not recovering Michael Stefaniuc
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.