From 17d14c68608808e2688df8073294aec2094bf1fd Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 7 Sep 2020 18:13:51 +0200 Subject: issue #8015 Special command \skip and \until no longer functional in ALIASES The pattern `\ilinebr` is actually also a line break, but was not handled. --- src/doctokenizer.l | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/doctokenizer.l b/src/doctokenizer.l index ac5b6d2..cf0b471 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -1243,10 +1243,16 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} return TK_WORD; } [^\r\n]+ { + if (QCString(yytext).contains("\\ilinebr")) REJECT; g_token->name = yytext; g_token->name = g_token->name.stripWhiteSpace(); return TK_WORD; } +[^\r\n]+/"\\ilinebr" { + g_token->name = yytext; + g_token->name = g_token->name.stripWhiteSpace(); + return TK_WORD; + } {LINKMASK}|{REFWORD} { g_token->name = yytext; return TK_WORD; -- cgit v0.12