diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-29 14:02:34 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-07-29 14:02:34 (GMT) |
commit | 517ec716de0f3a08fcd3bed2626b776a36c663f5 (patch) | |
tree | a108e604fade4284293b0609df6471a01f554c31 /src | |
parent | 4c9baef41c6a8519ad0067d0707c82ff4db09fec (diff) | |
download | Doxygen-517ec716de0f3a08fcd3bed2626b776a36c663f5.zip Doxygen-517ec716de0f3a08fcd3bed2626b776a36c663f5.tar.gz Doxygen-517ec716de0f3a08fcd3bed2626b776a36c663f5.tar.bz2 |
And one more fix for \ilinebr handling
Diffstat (limited to 'src')
-rw-r--r-- | src/doctokenizer.l | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index c0c6789..f232c3a 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -974,6 +974,10 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} } <St_TitleN>{HTMLTAG} { } +<St_TitleN>(\n|"\\ilinebr") { /* new line => end of title */ + for (int i=yyleng-1;i>=0;i--) unput(yytext[i]); + return 0; + } <St_TitleN>{SPCMD1} | <St_TitleN>{SPCMD2} { /* special command */ g_token->name = yytext+1; @@ -1000,10 +1004,6 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} g_token->chars=yytext; return TK_WHITESPACE; } -<St_TitleN>(\n|"\\ilinebr") { /* new line => end of title */ - for (int i=yyleng-1;i>=0;i--) unput(yytext[i]); - return 0; - } <St_TitleQ>"&"{ID}";" { /* symbol */ g_token->name = yytext; return TK_SYMBOL; |