summaryrefslogtreecommitdiff
path: root/sphinx/ext/coverage.py
diff options
context:
space:
mode:
authorMichael Jones <m.pricejones@gmail.com>2010-11-18 08:56:39 +1300
committerMichael Jones <m.pricejones@gmail.com>2010-11-18 08:56:39 +1300
commite36ca00744902e4b83fd0be9d84a2a6f0dcdc358 (patch)
treef3e93c746b5a17a67a64de004c9297323d6a0b5e /sphinx/ext/coverage.py
parent55e70715235e77ea3c968e54d1ab419c67638ea0 (diff)
downloadsphinx-git-e36ca00744902e4b83fd0be9d84a2a6f0dcdc358.tar.gz
Account for arguments with only a type and no parameter name
Previously, the code was parsing the type into the argname variable and then when it found something (not "," or ")") following the type it swapped the name into the type and parsed next part as the name. However, when no name is provided, as it allowed in c++, if you're not planning on using the parameter, or it is in a function declaration, then the actual type was being left in the name variable and the type variable was empty. As a result function signatures for references were being generated without knowledge of the type, which is the important factor in disambiguating overloaded functions.
Diffstat (limited to 'sphinx/ext/coverage.py')
0 files changed, 0 insertions, 0 deletions