diff options
| author | Daan Huinink <daan@huinink.net> | 2020-05-27 11:27:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-27 11:27:30 +0200 |
| commit | 07b6f8998d3daa3ce3e4d56376f0b69cd6e382ec (patch) | |
| tree | e60584bb0395436d2fa9c8fe42b5e9f4a842679c /src/Lang/Cpp | |
| parent | 38d5349b0e2b1177f45adc6a800360c32a6f70d1 (diff) | |
| download | doxdocgen-07b6f8998d3daa3ce3e4d56376f0b69cd6e382ec.tar.gz | |
Fixed a bug where the argument type would be placed as the param instead of the argument name. (#154)
Diffstat (limited to 'src/Lang/Cpp')
| -rw-r--r-- | src/Lang/Cpp/CppParser.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Lang/Cpp/CppParser.ts b/src/Lang/Cpp/CppParser.ts index dcdfcba..d51f853 100644 --- a/src/Lang/Cpp/CppParser.ts +++ b/src/Lang/Cpp/CppParser.ts @@ -686,7 +686,7 @@ export default class CppParser implements ICodeParser { if (node.type === CppTokenType.Symbol && this.keywords.find((k) => k === node.value) === undefined ) { - if (symbolCount === 1 && argument.name === null) { + if (symbolCount === 1) { argument.name = node.value; continue; } else if (symbolCount > 1) { |