Make the interpreter for set print the whole path
Change-Id: I2c0cdd477f996532cc691567cb5d0045ec84cc2e
diff --git a/src/interpreter.cpp b/src/interpreter.cpp
index 44c0b2f..934aac9 100644
--- a/src/interpreter.cpp
+++ b/src/interpreter.cpp
@@ -11,7 +11,7 @@
void Interpreter::operator()(const set_& set) const
{
- std::cout << "Setting " << boost::get<leaf_>(set.m_path.m_nodes.back()).m_name << " to " << set.m_data << std::endl;
+ std::cout << "Setting " << pathToDataString(set.m_path) << " to " << set.m_data << std::endl;
}
void Interpreter::operator()(const cd_& cd) const