diff options
Diffstat (limited to 'cli/context.cxx')
-rw-r--r-- | cli/context.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/context.cxx b/cli/context.cxx index 6b5e2f8..1fd4996 100644 --- a/cli/context.cxx +++ b/cli/context.cxx @@ -297,6 +297,11 @@ translate (string const& s, std::set<string> const& set) r += s[i]; } + // If we found the opening '<' but no closing '>', add the rest. + // + if (p != string::npos) + r.append (s, p, string::npos); + return r; } |