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/parser_context.cpp b/src/parser_context.cpp index c3b31c9..5766c2f 100644 --- a/src/parser_context.cpp +++ b/src/parser_context.cpp
@@ -7,8 +7,8 @@ */ #include "parser_context.hpp" -ParserContext::ParserContext(const CTree& tree) +ParserContext::ParserContext(const CTree& tree, const std::string curDir) : m_tree(tree) { - m_curPath = m_tree.currentNode(); + m_curPath = curDir; }