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_context.cpp b/src/parser_context.cpp index d3b4a90..fa64344 100644 --- a/src/parser_context.cpp +++ b/src/parser_context.cpp
@@ -11,4 +11,7 @@ : m_schema(schema) { m_curPath = curDir; + + if (!m_curPath.m_nodes.empty() && m_curPath.m_nodes.at(0).m_prefix) + m_topLevelModulePresent = true; }