Skip to content

Commit 8b79936

Browse files
committed
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
1 parent c5ce751 commit 8b79936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6981,7 +6981,7 @@ static QCString replaceAliasArguments(StringUnorderedSet &aliasesProcessed,
69816981
//printf("found marker at %d with len %d and number %d\n",
69826982
// markerStart-1,markerLen+1,atoi(aliasValue.mid(markerStart,markerLen)));
69836983
}
6984-
markerStart=0; // outside marker
6984+
markerStart=(aliasValue.at(i)=='\\' ? i+1 : 0);
69856985
markerEnd=0;
69866986
}
69876987
}

0 commit comments

Comments
 (0)