summaryrefslogtreecommitdiff
path: root/src/variable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/variable.cpp')
-rw-r--r--src/variable.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/variable.cpp b/src/variable.cpp
index 0c83133..4cbf97d 100644
--- a/src/variable.cpp
+++ b/src/variable.cpp
@@ -1111,7 +1111,15 @@ Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v )
1111 return f << "(varref:\"" << v.rValue->sName << "\")"; 1111 return f << "(varref:\"" << v.rValue->sName << "\")";
1112 1112
1113 case Variable::tList: 1113 case Variable::tList:
1114 return f << *v.lValue; 1114 f << "\\[";
1115 for( Variable::VariableArray::iterator i = v.lValue->begin();
1116 i; i++ )
1117 {
1118 if( i != v.lValue->begin() )
1119 f << ", ";
1120 f << *i;
1121 }
1122 return f << "\\]";
1115 1123
1116 case Variable::tDictionary: 1124 case Variable::tDictionary:
1117 return f << *v.hValue; 1125 return f << *v.hValue;