>>> * Fix search for parameterised macros with SmPL
>>> https://github.com/coccinelle/coccinelle/issues/94
There are further software development challenges to consider
around preprocessor code.
elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-c
Jürgen_Groß-Beispiel2.c
…
ERROR-RECOV: found sync end of #define, line 1
…
parse error
= File "Jürgen_Groß-Beispiel2.c", line 1, column 65, charpos = 65
around = '(',
whole content = #define MACRO(name) snprintf(buffer, PAGE_SIZE, "%u\n",
pointer->(name));
badcount: 0
BAD:!!!!! #define MACRO(name) snprintf(buffer, PAGE_SIZE, "%u\n",
pointer->(name));
…
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci