diff --git a/source/app.d b/source/app.d index ece6067..7088e01 100644 --- a/source/app.d +++ b/source/app.d @@ -1081,13 +1081,13 @@ File openInputFile(string filename) { } File openOutputFile(string filename, string msg) { + if (!getOption('q')) + writeln(msg); try { return File(filename, "wb"); } catch (Exception e) { throw new AssemblyError(e.msg); } - if (!getOption('q')) - writeln(msg); } void ensureListingFileOpen(char letter, string msg) {