commit | 744f57f7d64efe71c2b8168ecbdccd07297d7fbe | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubervac@fit.cvut.cz> | Fri Jun 29 22:46:26 2018 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Aug 02 18:41:22 2018 +0200 |
tree | a2dff67873d062f38a48828da8478a7459dc1b21 | |
parent | 44835867c199b69eaed7d20262c0342123c46929 [diff] [blame] |
Add modules Change-Id: Idafb0f57dd032d4f88658de15d293bdefac0567f
diff --git a/src/parser.cpp b/src/parser.cpp index 0c62358..ac3ba84 100644 --- a/src/parser.cpp +++ b/src/parser.cpp
@@ -42,7 +42,7 @@ void Parser::changeNode(const path_& name) { for (const auto& it : name.m_nodes) { - if (it.type() == typeid(nodeup_)) + if (it.m_suffix.type() == typeid(nodeup_)) m_curDir.m_nodes.pop_back(); else m_curDir.m_nodes.push_back(it);