diff options
Diffstat (limited to 'linkify/linkify.cc')
-rw-r--r-- | linkify/linkify.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linkify/linkify.cc b/linkify/linkify.cc index 9557f256..ece50748 100644 --- a/linkify/linkify.cc +++ b/linkify/linkify.cc @@ -203,6 +203,10 @@ void replace_tags_in_file(const string& filename, const map<string, syminfo>& in out << c; at_start_of_line = false; } + else if (c == ')') { + out << c; + at_start_of_line = false; + } else { //? cerr << "rest\n"; if (c == ',' || c == ':') { @@ -213,7 +217,7 @@ void replace_tags_in_file(const string& filename, const map<string, syminfo>& in ostringstream out2; out2 << c; while (in2 >> c) { - if (isspace(c) || c == '<' || c == '"' || c == '\'' || c == '/' || c == ',' || c == ':') { // keep sync'd with other clauses above + if (isspace(c) || c == '<' || c == '"' || c == '\'' || c == '/' || c == ',' || c == ':' || c == '(' || c == ')') { // keep sync'd with other clauses above in2.putback(c); break; } |