diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-13 18:46:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-13 18:46:11 +0200 |
commit | cb65012eb524eb57b00249f1dee0f245e947cda4 (patch) | |
tree | 9706e59d98f2208ec110d84a5aaef14e45b49542 /cli/semantics/unit.hxx | |
parent | a1686fdeabe24823225cfb4cf79646e12cf98b2c (diff) |
Use new path class, add context and generator classes
Use cutl::fs::path instead of std::string in the semantic
graph. Add context and generator stubs, to be filled next.
Connect everything in the compiler driver.
Diffstat (limited to 'cli/semantics/unit.hxx')
-rw-r--r-- | cli/semantics/unit.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/semantics/unit.hxx b/cli/semantics/unit.hxx index c15d172..a67e1ff 100644 --- a/cli/semantics/unit.hxx +++ b/cli/semantics/unit.hxx @@ -30,7 +30,7 @@ namespace semantics return *includer_; } - path + string const& file () const { return file_; @@ -39,7 +39,7 @@ namespace semantics protected: friend class graph<node, edge>; - includes (path const& file) + includes (string const& file) : file_ (file) { } @@ -51,7 +51,7 @@ namespace semantics } protected: - path file_; + string file_; cli_unit* includer_; }; @@ -69,7 +69,7 @@ namespace semantics protected: friend class graph<node, edge>; - cli_includes (path const& file) + cli_includes (string const& file) : includes (file) { } @@ -98,7 +98,7 @@ namespace semantics protected: friend class graph<node, edge>; - cxx_includes (path const& file) + cxx_includes (string const& file) : includes (file) { } |