[Cython] Entry lookup order

Vitja Makarov vitja.makarov at gmail.com
Tue Aug 16 21:54:16 CEST 2011


Trying to silence compiler warning about taking address of variable
I've found again that when CreateControlFlow is ran lhs entries are
resolved and rhs aren't.

As I understand analyse_declarations() creates scope entries for lhs.
At this point we don't know much about scope name reference belongs
to.
Next analyse_expressions() fills the rest entries.

Sine CreateControlFlow couldn't be run after analyse_expressions() is
it correct to lookup for entry in the current scope?

-- 
vitja.


More information about the cython-devel mailing list