From: Robert Bradshaw Date: Tue, 6 Oct 2009 11:09:22 +0000 (-0700) Subject: merge X-Git-Tag: 0.13.beta0~2^2~121^2~102 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abba2535be3f0b14c29a1e99c6c0936c017803b9;p=cython.git merge --- abba2535be3f0b14c29a1e99c6c0936c017803b9 diff --cc Cython/Compiler/ModuleNode.py index dd3161b7,0674926c..07eedde9 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@@ -264,9 -268,13 +264,9 @@@ class ModuleNode(Nodes.Node, Nodes.Bloc code = globalstate['before_global_var'] code.putln('#define __Pyx_MODULE_NAME "%s"' % self.full_module_name) - code.putln("int %s%s = %s;" % (Naming.module_is_main, self.full_module_name.replace('.', '__'), int(Options.embed))) + code.putln("int %s%s = 0;" % (Naming.module_is_main, self.full_module_name.replace('.', '__'))) code.putln("") code.putln("/* Implementation of %s */" % env.qualified_name) - self.generate_const_definitions(env, code) - self.generate_interned_num_decls(env, code) - self.generate_interned_string_decls(env, code) - self.generate_py_string_decls(env, code) code = globalstate['all_the_rest']