defer gs.out default name until later.

This commit is contained in:
Kelvin Sherlock 2019-12-14 16:17:16 -05:00
parent f3e04aa7d4
commit a793b4a0ea
2 changed files with 2 additions and 1 deletions

View File

@ -555,6 +555,7 @@ void finish(void) {
resolve();
print_symbols();
if (save_file.empty()) save_file = "gs.out";
try {
save_omf(save_file, segments, compress, express);
set_file_type(save_file, ftype, atype);

View File

@ -105,7 +105,7 @@ static bool is_S(std::string_view sv) {
bool verbose = false;
std::string save_file = "gs.out";
std::string save_file;
bool express = true;
bool compress = true;