commit | 2a9e17912f55d06b75749b7da034b5ea3dc4327a | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubervac@fit.cvut.cz> | Mon May 28 12:53:48 2018 +0200 |
committer | Václav Kubernát <kubervac@fit.cvut.cz> | Mon May 28 13:01:08 2018 +0200 |
tree | e4644f34516162bbe1c40fdfcb50cc61a12c5629 | |
parent | 60d6f29d61708241268e4f98fc3e64c1fb07a9b3 [diff] [blame] |
move m_curDir to the parser class Change-Id: Ib3cf15dfbb7af861a3c2fa8e746a0b0baaaa512e
diff --git a/src/CParser.hpp b/src/CParser.hpp index 4b3e1c4..a7d5790 100644 --- a/src/CParser.hpp +++ b/src/CParser.hpp
@@ -36,7 +36,10 @@ public: CParser(const CTree& tree); cd_ parseCommand(const std::string& line, std::ostream& errorStream); + void changeNode(const path_& name); + std::string currentNode() const; private: const CTree& m_tree; + std::string m_curDir; };