On 06/07/12 10:31, [email protected] wrote:
The Coccinelle C parser enters error recovery mode when it parses the following
code:
...
This is toplevel code, right?
Then the #define and #undef are toplevel elements, but "FOO(i)" is not
(it would require macro expansion).
But it doesn't for the slightly modified code:
...
I guess that "FOO(i) static long l;" is interpreted as some toplevel
declaration of "l", where "FOO(i)" has become part of the declaration
somehow.
Arie
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)