# api boolean
# need_properties [entry]
+ # decorators [cython.locals(...)] or None
# directive_locals { string : NameNode } locals defined by cython.locals(...)
child_attrs = ["base_type", "declarators"]
need_properties = ()
+
+ decorators = None
directive_locals = {}
def analyse_declarations(self, env, dest_scope = None):
def p_statement(s, ctx, first_statement = 0):
cdef_flag = ctx.cdef_flag
- decorators = []
+ decorators = None
if s.sy == 'ctypedef':
if ctx.level not in ('module', 'module_pxd'):
s.error("ctypedef statement not allowed here")