summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-09-10 17:06:15 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2018-09-10 17:06:15 (GMT)
commit03c6f500926fd46d44768ecf2a7b464f8d710ef0 (patch)
tree1e571b897fa95567c9d4f2bd6375f69437ac1caa /src/code.l
parentec9f8e82a9ff26750ca7fcffb20d17d8cbdb2bbc (diff)
parent4a1964105a74beb857a877928d264261ab8c1e77 (diff)
downloadDoxygen-03c6f500926fd46d44768ecf2a7b464f8d710ef0.zip
Doxygen-03c6f500926fd46d44768ecf2a7b464f8d710ef0.tar.gz
Doxygen-03c6f500926fd46d44768ecf2a7b464f8d710ef0.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index e5e0361..87dc1fe 100644
--- a/src/code.l
+++ b/src/code.l
@@ -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;