Commit 18c328e3 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Fix regression related to --embed support

parent 4dfca056
......@@ -56,8 +56,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
else:
env.doc = self.doc
env.directives = self.directives
if Options.embed:
self.__main__cname = env.intern_identifier(EncodedString("__main__"))
self.__main__cname = env.intern_identifier(EncodedString("__main__"))
self.body.analyse_declarations(env)
def process_implementation(self, options, result):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment