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

Fix regression related to --embed support

parent 4dfca056
...@@ -56,7 +56,6 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -56,7 +56,6 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
else: else:
env.doc = self.doc env.doc = self.doc
env.directives = self.directives 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) self.body.analyse_declarations(env)
......
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