Add modules

Change-Id: Idafb0f57dd032d4f88658de15d293bdefac0567f
diff --git a/src/parser_context.hpp b/src/parser_context.hpp
index 99c1a63..28c5eb1 100644
--- a/src/parser_context.hpp
+++ b/src/parser_context.hpp
@@ -11,8 +11,10 @@
     ParserContext(const Schema& schema, const path_ curDir);
     const Schema& m_schema;
     path_ m_curPath;
+    boost::optional<std::string> m_curModule;
     std::string m_errorMsg;
     std::string m_tmpListName;
+    bool m_topLevelModulePresent = false;
     std::set<std::string> m_tmpListKeys;
     bool m_errorHandled = false;
 };