From 5813f1881ca7e36e9c29d95677883c2aedf9868c Mon Sep 17 00:00:00 2001
From: ilor <kailoran@gmail.com>
Date: Thu, 25 Nov 2010 17:55:38 +0100
Subject: [PATCH] fix Tset's tagset-aware string representation

---
 libwccl/values/tset.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libwccl/values/tset.cpp b/libwccl/values/tset.cpp
index 01a8a0a..3915540 100644
--- a/libwccl/values/tset.cpp
+++ b/libwccl/values/tset.cpp
@@ -12,7 +12,7 @@ std::string TSet::to_raw_string() const
 
 std::string TSet::to_string(const Corpus2::Tagset& tagset) const
 {
-	return tagset.tag_to_symbol_string(tag_);
+	return "{" + tagset.tag_to_symbol_string(tag_) + "}";
 }
 
 std::string TSet::var_repr(const std::string &var_name)
-- 
GitLab