unify m_name member variable
Change-Id: I75ce562548463faed416cc0ff5ebb5f70242288b
diff --git a/src/ast_handlers.hpp b/src/ast_handlers.hpp
index b0d27aa..139bb5c 100644
--- a/src/ast_handlers.hpp
+++ b/src/ast_handlers.hpp
@@ -93,7 +93,7 @@
void on_success(Iterator const&, Iterator const&, T& ast, Context const& context)
{
auto& parserContext = x3::get<parser_context_tag>(context);
- parserContext.m_curPath = joinPaths(parserContext.m_curPath, ast.m_listName);
+ parserContext.m_curPath = joinPaths(parserContext.m_curPath, ast.m_name);
}
template <typename Iterator, typename Exception, typename Context>