Skip to content

Commit 1e2c9ec

Browse files
committed
issue #10356 CopyDoc target is parsed incorrectly
An id should not only end at a space like character but also at the start of a command.
1 parent f6f0118 commit 1e2c9ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/docparser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,8 @@ static QCString extractCopyDocId(const char *data, uint32_t &j, size_t len)
16941694
case ')': round--; break;
16951695
case '"': insideDQuote=TRUE; break;
16961696
case '\'': insideSQuote=TRUE; break;
1697+
case '\\': // fall through, begin of command
1698+
case '@': // fall through, begin of command
16971699
case ' ': // fall through
16981700
case '\t': // fall through
16991701
case '\n':

0 commit comments

Comments
 (0)