diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-05 18:50:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-11-05 18:50:45 (GMT) |
commit | c9aadb3ca8e49c65724814c671dd11bdc9a2acc7 (patch) | |
tree | dde240bd1adf114a31470143d88fce53c55a74bb | |
parent | b32afdbd35624376000aaf12d09930e311692c53 (diff) | |
parent | d4f746acbc852bd61a6ced0820cefc6db9f21db0 (diff) | |
download | Doxygen-c9aadb3ca8e49c65724814c671dd11bdc9a2acc7.zip Doxygen-c9aadb3ca8e49c65724814c671dd11bdc9a2acc7.tar.gz Doxygen-c9aadb3ca8e49c65724814c671dd11bdc9a2acc7.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
-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); |