aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/parser.cxx')
-rw-r--r--build/parser.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/parser.cxx b/build/parser.cxx
index 809841f..b21dd6f 100644
--- a/build/parser.cxx
+++ b/build/parser.cxx
@@ -40,7 +40,7 @@ namespace build
void parser::
parse_buildfile (istream& is, const path& p, scope& root, scope& base)
{
- string rw (diag_relative_work (p));
+ string rw (diag_relative (p)); // Relative to work.
path_ = &rw;
lexer l (is, rw);
@@ -431,7 +431,7 @@ namespace build
level4 ([&]{trace (t) << "entering " << p;});
- string rw (diag_relative_work (p));
+ string rw (diag_relative (p)); // Relative to work.
const string* op (path_);
path_ = &rw;
@@ -558,7 +558,7 @@ namespace build
level4 ([&]{trace (t) << "entering " << p;});
- string rw (diag_relative_work (p));
+ string rw (diag_relative (p)); // Relative to work.
const string* op (path_);
path_ = &rw;