macro processor: fix bug in file reported when error encountered after a file has been included

closes #42
parent 6284e991
Pipeline #3082 passed with stages
in 3 minutes and 23 seconds
...@@ -86,6 +86,7 @@ Include::interpret(ostream &output, bool no_line_macro, vector<filesystem::path> ...@@ -86,6 +86,7 @@ Include::interpret(ostream &output, bool no_line_macro, vector<filesystem::path>
{ {
error(StackTrace("@#include", e.what(), location)); error(StackTrace("@#include", e.what(), location));
} }
printLineInfo(output, no_line_macro);
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment