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/parser.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/parser.hxx')
-rw-r--r-- | cli/parser.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/parser.hxx b/cli/parser.hxx index 458efbc..3597fac 100644 --- a/cli/parser.hxx +++ b/cli/parser.hxx @@ -22,7 +22,7 @@ public: struct invalid_input {}; std::auto_ptr<semantics::cli_unit> - parse (std::istream& is, std::string const& id); + parse (std::istream& is, semantics::path const& path); private: struct error {}; @@ -57,7 +57,7 @@ private: private: bool valid_; - std::string const* id_; + semantics::path const* path_; lexer* lexer_; |