summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-28 18:46:58 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-28 18:46:58 (GMT)
commit8b7993630f08ae499ebca0eb894451c89180199f (patch)
tree9511282752fac199086321e55c8207aba94c154d /src/util.cpp
parentc5ce7512ad6482a3e928d99ddbb0cc68044b58dc (diff)
downloadDoxygen-8b7993630f08ae499ebca0eb894451c89180199f.zip
Doxygen-8b7993630f08ae499ebca0eb894451c89180199f.tar.gz
Doxygen-8b7993630f08ae499ebca0eb894451c89180199f.tar.bz2
issue #8137 Whitespace/Separator required to recognize custom command argument
In case the character directly following the number of a substitution marker is a backslash search directly a new substitution pattern
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp
index f518491..98fb076 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -6981,7 +6981,7 @@ static QCString replaceAliasArguments(StringUnorderedSet &aliasesProcessed,
//printf("found marker at %d with len %d and number %d\n",
// markerStart-1,markerLen+1,atoi(aliasValue.mid(markerStart,markerLen)));
}
- markerStart=0; // outside marker
+ markerStart=(aliasValue.at(i)=='\\' ? i+1 : 0);
markerEnd=0;
}
}