mirror of
https://github.com/pfusik/xasm.git
synced 2025-08-15 15:27:23 +00:00
Fix unreachable statement.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user