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
Pipeline #2008 passed with stage
in 1 minute and 32 seconds
......@@ -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");
if (!exists(ip))
warning(StackTrace("@#includepath", ip.string() + " does not exist", location));
paths.emplace_back(*msp);
paths.emplace_back(ip);
}
catch (StackTrace &ex)
{
......
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