Hello people. I'm writing a python script that helps to find macros and methods which are defined/implemented but are not in use anywhere.
The script is simple. Your most important purpose is to find these unused code, and otherwise, help to find where these macros or methods are defined. For that, I need some help with some definitions.. When we are looking for macros, it's not so simple, a #define code can exist for an #ifdef, or #ifndef. And in that cases, the script can't say that the macro is not used, because the system may use it. Or for a common cause, like #define NAME; "My Name"; If someone can, I like to ask for help with the rules for a #define to be valid. By now, the latest version (incomplete but running): http://pastebin.com/Ta4JJeuF And of course, you can implement/make it better. Thank you in advance. Best Regards, Ricardo. -- Ricardo Montania Prado de Campos http://www.linuxafundo.com.br
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice