diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-05 18:47:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 18:47:56 (GMT) |
commit | d4f746acbc852bd61a6ced0820cefc6db9f21db0 (patch) | |
tree | 9a6c7492a7e33953d8854f741aa03010803f0a9d | |
parent | cc4675afcc5f6825b9302fd0915c0c4148f555ab (diff) | |
parent | 7e99e9b66c48da2dfeea29f14b207a30aae62a1e (diff) | |
download | Doxygen-d4f746acbc852bd61a6ced0820cefc6db9f21db0.zip Doxygen-d4f746acbc852bd61a6ced0820cefc6db9f21db0.tar.gz Doxygen-d4f746acbc852bd61a6ced0820cefc6db9f21db0.tar.bz2 |
Merge pull request #7371 from albert-github/feature/bug_tcl_qgdict
QGDict::hashAsciiKey: Invalid null key due to empty procedure name
-rw-r--r-- | src/tclscanner.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tclscanner.l b/src/tclscanner.l index 4a262bc..45ad9c0 100644 --- a/src/tclscanner.l +++ b/src/tclscanner.l @@ -535,6 +535,13 @@ static void tcl_name(const QCString &ns0, const QCString &name0, QCString &ns, Q ns = ""; name = myNm; } + else if (myNm.length()-myStart == 2) + { + // ending with :: so get name equal to last component + ns = myNm.mid(0,myStart); + myStart = ns.findRev("::"); + name = myNm.mid(myStart+2); + } else { ns = myNm.mid(0,myStart); |