Skip to content
Snippets Groups Projects
Commit 5b46a726 authored by ilor's avatar ilor
Browse files

fix value variable type prefixes in cpp code

parent 5813f188
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
......@@ -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();
}
......
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment