Skip to content
Snippets Groups Projects
Verified Commit f349e22f authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Macro processor: fix error message when @#include is used with nonexistent file

parent 50a2737e
No related branches found
No related tags found
No related merge requests found
Pipeline #7880 passed
......@@ -68,7 +68,7 @@ Include::interpret(ostream &output, Environment &env, vector<filesystem::path> &
errmsg << " * " << current_path().string() << endl;
for (const auto &dir : paths)
errmsg << " * " << absolute(dir).string() << endl;
error(StackTrace("@#includepath", "Could not open " + filename.string()
error(StackTrace("@#include", "Could not open " + filename.string()
+". The following directories were searched:\n" + errmsg.str(), location));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment