Skip to content

Commit 919127f

Browse files
committed
issue doxygen#11870 Spaces after \fileinfo are deleted
Handle the `ilinebr` command properly after a file mask (i.e. ending the file mask and pushing the` ilinebr` command back_
1 parent c518ca3 commit 919127f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/doctokenizer.l

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,6 +1350,11 @@ SHOWDATE ([0-9]{4}"-"[0-9]{1,2}"-"[0-9]{1,2})?({WS}*[0-9]{1,2}":"[0-9]{1,2}(":"[
13501350
}
13511351
<St_File>{FILEMASK} {
13521352
yyextra->token.name = yytext;
1353+
if (yyextra->token.name.endsWith("\\ilinebr") ||yyextra->token.name.endsWith("@ilinebr"))
1354+
{
1355+
unput_string("\\ilinebr",8);
1356+
yyextra->token.name = yyextra->token.name.left(yyleng-8);
1357+
}
13531358
return Token::make_TK_WORD();
13541359
}
13551360
<St_File>"\""[^\n\"]+"\"" {

0 commit comments

Comments
 (0)