diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-09-06 19:55:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-06 19:55:38 (GMT) |
commit | 3e1360976b6ab9621b85d93fdd4e9232d6a7a7fa (patch) | |
tree | d24e8803f921136286dad7df0dad433068ecf3de /src/code.l | |
parent | 8a1d2cb36aa65687d22ff50086268b5260dfbc80 (diff) | |
parent | 7e591135c56c3679c5ee63aa78f6baeae2cde63f (diff) | |
download | Doxygen-3e1360976b6ab9621b85d93fdd4e9232d6a7a7fa.zip Doxygen-3e1360976b6ab9621b85d93fdd4e9232d6a7a7fa.tar.gz Doxygen-3e1360976b6ab9621b85d93fdd4e9232d6a7a7fa.tar.bz2 |
Merge pull request #6430 from albert-github/feature/bug_self_php
'self' keyword in PHP documentation
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1324,7 +1324,9 @@ static void generateFunctionLink(CodeOutputInterface &ol,const char *funcName) //CodeClassDef *ccd=0; ClassDef *ccd=0; QCString locScope=g_classScope; - QCString locFunc=removeRedundantWhiteSpace(funcName); + QString qq=removeRedundantWhiteSpace(funcName); + if (g_insidePHP && qq.startsWith("self::")) qq=qq.mid(4); + QCString locFunc(qq.data()); QCString funcScope; QCString funcWithScope=locFunc; QCString funcWithFullScope=locFunc; |