From b52d8dd0e95d1f67ebb91007de05724955e555e5 Mon Sep 17 00:00:00 2001 From: Dean Anderson Date: Fri, 28 Sep 2018 16:04:52 -0400 Subject: Added additional documentation to package.json Cleaned up FIXME comments in CppDocGen.ts --- src/Lang/Cpp/CppDocGen.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/Lang/Cpp/CppDocGen.ts b/src/Lang/Cpp/CppDocGen.ts index c88dd7d..75b67af 100644 --- a/src/Lang/Cpp/CppDocGen.ts +++ b/src/Lang/Cpp/CppDocGen.ts @@ -106,13 +106,11 @@ export class CppDocGen implements IDocGen { } protected getMultiTemplatedString(replace: string[], template: string, param: string[]): string { - // FIXME I find this argument order a bit strange. I would probably have template first // For each replace entry, attempt to replace it with the corresponding param in the template for (let i = 0; i < replace.length; i++) { if (i < param.length) { template = template.replace(replace[i], param[i]); } - // TODO: warn if mismatch string lengths? Probably should use tuple of tuples } return template; } -- cgit v1.2.3