summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-04-20 16:42:28 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-04-20 16:42:28 (GMT)
commit2c23ce87411ae7cb09664690529e0a5e961f194e (patch)
tree067fdf4fe7ba4bf41826f66ed063edfb6245274d /src/doctokenizer.l
parent98c67549bc3cd855873e0ef5eeab7c6410699d78 (diff)
downloadDoxygen-2c23ce87411ae7cb09664690529e0a5e961f194e.zip
Doxygen-2c23ce87411ae7cb09664690529e0a5e961f194e.tar.gz
Doxygen-2c23ce87411ae7cb09664690529e0a5e961f194e.tar.bz2
issue #8511 Java: linebreak after @link can cause wrong parsing of subsequent doc
Allowing also a `\n` after the @link.
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l
index 70f2bd1..7c28907 100644
--- a/src/doctokenizer.l
+++ b/src/doctokenizer.l
@@ -610,7 +610,7 @@ RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revisio
g_token->indent = computeIndent(text,dotPos);
return TK_ENDLIST;
}
-<St_Para>"{"{BLANK}*"@link"/{BLANK}+ {
+<St_Para>"{"{BLANK}*"@link"/{WS}+ {
g_token->name = "javalink";
return TK_COMMAND_AT;
}