diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2018-12-20 19:11:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 19:11:27 (GMT) |
commit | 7f8c72b3ee738e561204fb7ffdccdce056375d76 (patch) | |
tree | 036ab3c24484483173f9e38d950981624fd770f4 /src/doctokenizer.l | |
parent | f176d76f98497757e569b58fb2f142595ff1c967 (diff) | |
parent | a06e660406d655568635521f6df161e3a7e5734b (diff) | |
download | Doxygen-7f8c72b3ee738e561204fb7ffdccdce056375d76.zip Doxygen-7f8c72b3ee738e561204fb7ffdccdce056375d76.tar.gz Doxygen-7f8c72b3ee738e561204fb7ffdccdce056375d76.tar.bz2 |
Merge pull request #6699 from albert-github/feature/bug_emoji_false_positive
issue #6691 Multiple issues with emoji matching
Diffstat (limited to 'src/doctokenizer.l')
-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 52c2d53..4dc5fad 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -689,7 +689,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} g_token->name = yytext; return TK_SYMBOL; } -<St_Para,St_Text>{EMOJI} { /* emoji symbol */ +<St_Para,St_Text>{EMOJI}/[^:] { /* emoji symbol */ if (g_fileName == CiteConsts::fileName) { REJECT; @@ -946,7 +946,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} g_token->name = yytext; return TK_SYMBOL; } -<St_TitleN>{EMOJI} { /* emoji */ +<St_TitleN>{EMOJI}/[^:] { /* emoji */ if (g_fileName == CiteConsts::fileName) { REJECT; @@ -993,7 +993,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} g_token->name = yytext; return TK_SYMBOL; } -<St_TitleQ>{EMOJI} { /* emoji */ +<St_TitleQ>{EMOJI}/[^:] { /* emoji */ if (g_fileName == CiteConsts::fileName) { REJECT; @@ -1143,7 +1143,7 @@ REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV} g_token->name = yytext; return TK_SYMBOL; } -<St_Ref2>{EMOJI} { /* emoji */ +<St_Ref2>{EMOJI}/[^:] { /* emoji */ if (g_fileName == CiteConsts::fileName) { REJECT; |