mirror of
https://github.com/pfusik/xasm.git
synced 2024-12-11 02:49:19 +00:00
Fix unreachable statement.
This commit is contained in:
parent
7ad066fc6f
commit
2f8e97499d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user