On Sun, 1 Jan 2012, SF Markus Elfring wrote:
Coccinelle should be able to find the next definition after a parse error
and
continue from there.
I hope that the tool "spatch" will become able to process source code like
the following with corresponding support for identifiers with leading
underscores.
There is no problem with leading underscores. You are missing some macro
definitions, probably.
Perhaps you need #define __const const and #define __restrict
julia
string.h:
...
__BEGIN_NAMESPACE_STD
/* Copy SRC to DEST. */
extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
__THROW __nonnull ((1, 2));
...
/* Append SRC onto DEST. */
extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
__THROW __nonnull ((1, 2));
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)