summaryrefslogtreecommitdiffstats
path: root/src/doctokenizer.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-09-07 16:13:51 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-09-07 16:13:51 (GMT)
commit17d14c68608808e2688df8073294aec2094bf1fd (patch)
treef0153f607b8c272c54d474dcad752764397e6bd4 /src/doctokenizer.l
parent05547d571d1f5c32e7577ef26c830a240505d0aa (diff)
downloadDoxygen-17d14c68608808e2688df8073294aec2094bf1fd.zip
Doxygen-17d14c68608808e2688df8073294aec2094bf1fd.tar.gz
Doxygen-17d14c68608808e2688df8073294aec2094bf1fd.tar.bz2
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.
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r--src/doctokenizer.l6
1 files changed, 6 insertions, 0 deletions
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;
}
<St_Pattern>[^\r\n]+ {
+ if (QCString(yytext).contains("\\ilinebr")) REJECT;
g_token->name = yytext;
g_token->name = g_token->name.stripWhiteSpace();
return TK_WORD;
}
+<St_Pattern>[^\r\n]+/"\\ilinebr" {
+ g_token->name = yytext;
+ g_token->name = g_token->name.stripWhiteSpace();
+ return TK_WORD;
+ }
<St_Link>{LINKMASK}|{REFWORD} {
g_token->name = yytext;
return TK_WORD;