Do not assert when source file is missing
Closed this issue · 0 comments
danmar commented
Executing simplecpp with a missing file cause assertion error. We should report some file not found error instead:
daniel@laptop:~/simplecpp$ ./simplecpp notexist.cpp
simplecpp: simplecpp.cpp:388: FileStream::FileStream(const string&): Assertion `file != nullptr' failed.
Aborted (core dumped)