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

macro processor: insert path instead of string as the path has already been created

parent 2ce6e411
Branches
No related tags found
No related merge requests found
...@@ -100,7 +100,7 @@ IncludePath::interpret(ostream &output, bool no_line_macro, vector<filesystem::p ...@@ -100,7 +100,7 @@ IncludePath::interpret(ostream &output, bool no_line_macro, vector<filesystem::p
throw StackTrace(ip.string() + " does not evaluate to a valid directory"); throw StackTrace(ip.string() + " does not evaluate to a valid directory");
if (!exists(ip)) if (!exists(ip))
warning(StackTrace("@#includepath", ip.string() + " does not exist", location)); warning(StackTrace("@#includepath", ip.string() + " does not exist", location));
paths.emplace_back(*msp); paths.emplace_back(ip);
} }
catch (StackTrace &ex) catch (StackTrace &ex)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment