Skip to content
Snippets Groups Projects
Verified Commit 12296b62 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

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

closes #42
parent 6284e991
Branches
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment