Skip to content
Snippets Groups Projects
Commit ffa776c6 authored by Houtan Bastani's avatar Houtan Bastani Committed by Stéphane Adjemian
Browse files

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

(cherry picked from commit 125adff5)
parent e27925e0
No related branches found
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