Skip to content

Commit

Permalink
issue #10356 CopyDoc target is parsed incorrectly
Browse files Browse the repository at this point in the history
An id should not only end at a space like character but also at the start of a command.
  • Loading branch information
albert-github committed Oct 14, 2023
1 parent f6f0118 commit 1e2c9ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docparser.cpp
Expand Up @@ -1694,6 +1694,8 @@ static QCString extractCopyDocId(const char *data, uint32_t &j, size_t len)
case ')': round--; break;
case '"': insideDQuote=TRUE; break;
case '\'': insideSQuote=TRUE; break;
case '\\': // fall through, begin of command
case '@': // fall through, begin of command
case ' ': // fall through
case '\t': // fall through
case '\n':
Expand Down

0 comments on commit 1e2c9ec

Please sign in to comment.