Should we also mangle names (look at Symtab.py) if they are C++ keywords? http://en.wikibooks.org/wiki/C%2B%2B_Programming/Code/Keywords
Dag pushed a testcase using "mutable" as a struct field name ;-) ... It is very easy to forget about C++ when coding and testing using just C ... The C++ keywords that are not C99 keywords and Python keywords are listed below (BTW, at some point we should support bool as a native type, even in C): and_eq asm bitand bitor bool catch compl const_cast delete dynamic_cast explicit export false friend mutable namespace new not_eq operator or_eq private protected public reinterpret_cast static_cast template this throw true typeid typename using virtual wchar_t xor xor_eq -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
