Robert Bradshaw, 25.08.2010 08:57: > On Tue, Aug 24, 2010 at 11:54 PM, Dag Sverre Seljebotn wrote: >> Can't you do it conditional on being in a "cdef cppclass" block? While >> not perfect, that at least gives us backwards compatability with >> currently working Cython code. > > Not easily, given the structure of the parser. As I mentioned, this is > the same bug that causes C++ namespaces to get prepended to argument > names (I think). Essentially, we need to make parsing function > arguments and parsing variable declarations more distinct. The > contexts are not granular enough.
Can't we put that information into the parser "Ctx" context? It currently doesn't even hold the information if we are parsing C or C++ ... Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
