aboutsummaryrefslogtreecommitdiff
path: root/build/parser
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-13 15:50:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-13 15:50:17 +0200
commitace1743f7f78bb13f99553d6e97ad1beecf1ba99 (patch)
tree595bc9dad989e44f4be9a67e351219f3248dc5f0 /build/parser
parent534f9d8db025d58c9ce23f3b81a37e8c34386a27 (diff)
Add separate type to represent directory paths
Diffstat (limited to 'build/parser')
-rw-r--r--build/parser8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/parser b/build/parser
index 53ce2d0..6168645 100644
--- a/build/parser
+++ b/build/parser
@@ -76,7 +76,7 @@ namespace build
void
names (token&, token_type&,
names_type&, std::size_t pair,
- const path* dir, const std::string* type);
+ const dir_path* dir, const std::string* type);
// Buildspec.
//
@@ -116,12 +116,12 @@ namespace build
const fail_mark<failed> fail;
private:
- const std::string* path_; // Path processed by diagnostic_string().
+ const std::string* path_; // Path processed by diag_relative().
lexer* lexer_;
scope* scope_; // Current base scope (out_base).
scope* root_; // Current root scope (out_root).
- const path* out_root_;
- const path* src_root_;
+ const dir_path* out_root_;
+ const dir_path* src_root_;
target* default_target_;
token peek_ {token_type::eos, false, 0, 0};