refactor the parser class and parsercontext to work with path_

Change-Id: Ia4c8b5d183c39883d9c7190cc74983578b22d46a
diff --git a/src/parser_context.hpp b/src/parser_context.hpp
index 4d6cf99..2c90120 100644
--- a/src/parser_context.hpp
+++ b/src/parser_context.hpp
@@ -8,9 +8,9 @@
 
 #include "CTree.hpp"
 struct ParserContext {
-    ParserContext(const CTree& tree, const std::string curDir);
+    ParserContext(const CTree& tree, const path_ curDir);
     const CTree& m_tree;
-    std::string m_curPath;
+    path_ m_curPath;
     std::string m_errorMsg;
     std::string m_tmpListName;
     std::set<std::string> m_tmpListKeys;