From 2c23ce87411ae7cb09664690529e0a5e961f194e Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 20 Apr 2021 18:42:28 +0200 Subject: issue #8511 Java: linebreak after @link can cause wrong parsing of subsequent doc Allowing also a `\n` after the @link. --- src/doctokenizer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -"{"{BLANK}*"@link"/{BLANK}+ { +"{"{BLANK}*"@link"/{WS}+ { g_token->name = "javalink"; return TK_COMMAND_AT; } -- cgit v0.12