From 5b46a72631522241f33c84445e1027396b94b099 Mon Sep 17 00:00:00 2001 From: ilor <kailoran@gmail.com> Date: Thu, 25 Nov 2010 17:56:00 +0100 Subject: [PATCH] fix value variable type prefixes in cpp code --- libwccl/values/bool.cpp | 2 +- libwccl/values/strset.cpp | 2 +- libwccl/values/tset.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libwccl/values/bool.cpp b/libwccl/values/bool.cpp index f1d2531..236472f 100644 --- a/libwccl/values/bool.cpp +++ b/libwccl/values/bool.cpp @@ -8,7 +8,7 @@ const char* Bool::type_name = "Bool"; std::string Bool::var_repr(const std::string &var_name) { std::stringstream ss; - ss << "$b" << var_name; + ss << "$b:" << var_name; return ss.str(); } diff --git a/libwccl/values/strset.cpp b/libwccl/values/strset.cpp index 133b233..e8fd607 100644 --- a/libwccl/values/strset.cpp +++ b/libwccl/values/strset.cpp @@ -59,7 +59,7 @@ bool StrSet::is_subset_of(const StrSet &other) const std::string StrSet::var_repr(const std::string &var_name) { std::stringstream ss; - ss << "$s" << var_name; + ss << "$s:" << var_name; return ss.str(); } diff --git a/libwccl/values/tset.cpp b/libwccl/values/tset.cpp index 3915540..16a62b3 100644 --- a/libwccl/values/tset.cpp +++ b/libwccl/values/tset.cpp @@ -18,7 +18,7 @@ std::string TSet::to_string(const Corpus2::Tagset& tagset) const std::string TSet::var_repr(const std::string &var_name) { std::stringstream ss; - ss << "$t" << var_name; + ss << "$t:" << var_name; return ss.str(); } -- GitLab