Commit 411ccbdf authored by Stefan Behnel's avatar Stefan Behnel

small fix to actually use the module name extracting algo if no module name is provided by the user

parent e6254033
......@@ -289,7 +289,7 @@ class Context:
else:
c_suffix = ".c"
result.c_file = Utils.replace_suffix(source, c_suffix)
module_name = full_module_name # self.extract_module_name(source, options)
module_name = full_module_name or self.extract_module_name(source, options)
initial_pos = (source, 1, 0)
scope = self.find_module(module_name, pos = initial_pos, need_pxd = 0)
errors_occurred = False
......
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