Commit 38cb0633 authored by Stefan Behnel's avatar Stefan Behnel

fix broken name reference (probably after an incomplete refactoring)

--HG--
extra : transplant_source : %5ET%93%08%03d%EFC%C5X%D7%03%28%C4%EF%1DO%CC%1A%7C
parent ccf53501
......@@ -361,8 +361,7 @@ class Context(object):
def setup_errors(self, options, result):
Errors.reset() # clear any remaining error state
if options.use_listing_file:
result.listing_file = Utils.replace_suffix(source, ".lis")
path = result.listing_file
path = result.listing_file = Utils.replace_suffix(result.main_source_file, ".lis")
else:
path = None
Errors.open_listing_file(path=path,
......
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