aboutsummaryrefslogtreecommitdiff
path: root/build/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-27 16:14:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-27 16:14:10 +0200
commitc699c956d75dfaaded5bb24c5ea16edc73588649 (patch)
tree168245560a535714c841ded6640b69b22bf7b08d /build/parser.cxx
parent9c02d307d69faa6e3c7056d8e07f16c75c189f92 (diff)
Rework dependency state dump support
We now have a combined (scopes, variables, and targets) dump.
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;