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
...@@ -359,10 +359,9 @@ class Context(object): ...@@ -359,10 +359,9 @@ class Context(object):
return ".".join(names) return ".".join(names)
def setup_errors(self, options, result): def setup_errors(self, options, result):
Errors.reset() # clear any remaining error state Errors.reset() # clear any remaining error state
if options.use_listing_file: if options.use_listing_file:
result.listing_file = Utils.replace_suffix(source, ".lis") path = result.listing_file = Utils.replace_suffix(result.main_source_file, ".lis")
path = result.listing_file
else: else:
path = None path = None
Errors.open_listing_file(path=path, 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