abouttreesummaryrefslogcommitdiff
path: root/src/toc.h
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-14 14:56:12 +0200
committerPatrick Schönberger2021-08-14 14:56:12 +0200
commitc6ad2948bb98d42f8e0883ef82cd14cd2d5eda60 (patch)
tree9e83d6d8f61e56f5d3425b8709314d6bdb9315a9 /src/toc.h
parent9f94b672a5dc32da5ad01742bd4e976315a30d9c (diff)
downloadtoc-c6ad2948bb98d42f8e0883ef82cd14cd2d5eda60.tar.gz
toc-c6ad2948bb98d42f8e0883ef82cd14cd2d5eda60.zip
add antlr source code and ReadMeHEADmain
Diffstat (limited to 'src/toc.h')
-rw-r--r--src/toc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/toc.h b/src/toc.h
index 254abf2..c31e12b 100644
--- a/src/toc.h
+++ b/src/toc.h
@@ -305,7 +305,9 @@ void tocFunction (std::ostream & out, const Function & f, bool stub)
currentInstantiation[f.genericTypeNames[i]] = instantiation[i];
}
- out << f.returnType << " " << generateModifiers(namespacePrefix() + f.name, f.returnType.modifiers) << genericAppendix(instantiation) << " (" << vectorStr(f.parameters, ", ") << ")";
+ out << f.returnType << " " <<
+ generateModifiers(namespacePrefix() + f.name + genericAppendix(instantiation), f.returnType.modifiers) <<
+ " (" << vectorStr(f.parameters, ", ") << ")";
if (stub)
{