Skip to content

Commit

Permalink
v5.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
objeck committed May 12, 2021
1 parent b81f89b commit 437756e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/compiler/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,13 @@ int OptionsCompile(map<const wstring, wstring>& arguments, list<wstring>& argume
result = arguments.find(L"dest");
if(result == arguments.end()) {
dest_file = src_file;
frontend::RemoveSubString(dest_file, L".obs");
if(dest_file.find(L',') == string::npos) {
frontend::RemoveSubString(dest_file, L".obs");
}
else {
wcerr << usage << endl;
return COMMAND_ERROR;
}
}
else {
dest_file = result->second;
Expand Down
Binary file modified docs/api.zip
Binary file not shown.

0 comments on commit 437756e

Please sign in to comment.