Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/bin/lpython.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,8 @@ int main(int argc, char *argv[])
// the first:
std::string arg_file = arg_files[0];
if (CLI::NonexistentPath(arg_file).empty()){
throw LCompilers::LCompilersException("No such file or directory: " + arg_file);
std::cerr << "Your input file doesn't exist. file name is: " << arg_file << std::endl;
return 1;
}

std::string outfile;
Expand Down