Skip to content

Commit

Permalink
issue #8015 Special command \skip and \until no longer functional in …
Browse files Browse the repository at this point in the history
…ALIASES

The pattern `\ilinebr` is actually also a line break, but was not handled.
  • Loading branch information
albert-github committed Sep 7, 2020
1 parent 05547d5 commit 17d14c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/doctokenizer.l
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 17d14c6

Please sign in to comment.