Re: [PATCH] scripts/kernel-doc: handle object-like macros

2014-06-30 Thread Randy Dunlap
On 06/30/14 06:51, Horia Geantă wrote: > On 6/29/2014 5:52 AM, Randy Dunlap wrote: >> On 06/23/14 05:15, Horia Geanta wrote: >>> Object-like macros are different than function-like macros: >>> https://gcc.gnu.org/onlinedocs/cpp/Object-like-Macros.html >>> https://gcc.gnu.org/onlinedocs/cpp/Function

Re: [PATCH] scripts/kernel-doc: handle object-like macros

2014-06-30 Thread Horia Geantă
On 6/29/2014 5:52 AM, Randy Dunlap wrote: On 06/23/14 05:15, Horia Geanta wrote: Object-like macros are different than function-like macros: https://gcc.gnu.org/onlinedocs/cpp/Object-like-Macros.html https://gcc.gnu.org/onlinedocs/cpp/Function-like-Macros.html They are not parsed correctly, gen

Re: [PATCH] scripts/kernel-doc: handle object-like macros

2014-06-28 Thread Randy Dunlap
On 06/23/14 05:15, Horia Geanta wrote: > Object-like macros are different than function-like macros: > https://gcc.gnu.org/onlinedocs/cpp/Object-like-Macros.html > https://gcc.gnu.org/onlinedocs/cpp/Function-like-Macros.html > > They are not parsed correctly, generating invalid intermediate > file

[PATCH] scripts/kernel-doc: handle object-like macros

2014-06-23 Thread Horia Geanta
Object-like macros are different than function-like macros: https://gcc.gnu.org/onlinedocs/cpp/Object-like-Macros.html https://gcc.gnu.org/onlinedocs/cpp/Function-like-Macros.html They are not parsed correctly, generating invalid intermediate files (xmls) for cases like: #define BIT_MASK(0