about summary refs log tree commit diff stats
path: root/linkify
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-21 00:22:10 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-21 00:22:10 -0700
commita844bd058aaaedc9f4d23d3f5a4451e0fd1dca67 (patch)
tree2b079523c6ae13cd660784c3787d4da19814cb67 /linkify
parent4a4a392dc7c81b301ad6b760525c5549f2f6644c (diff)
downloadmu-a844bd058aaaedc9f4d23d3f5a4451e0fd1dca67.tar.gz
5684
Support function-call syntax when linkifying functions in html files.
Diffstat (limited to 'linkify')
-rw-r--r--linkify/linkify.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/linkify/linkify.cc b/linkify/linkify.cc
index b37c5296..9557f256 100644
--- a/linkify/linkify.cc
+++ b/linkify/linkify.cc
@@ -198,6 +198,11 @@ void replace_tags_in_file(const string& filename, const map<string, syminfo>& in
             while (in2 >> c) out << c;
             at_start_of_line = false;
           }
+          // send through open parens at start of line
+          else if (c == '(') {
+            out << c;
+            at_start_of_line = false;
+          }
           else {
 //?             cerr << "rest\n";
             if (c == ',' || c == ':') {