summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2018-12-20 19:13:34 (GMT)
committerGitHub <noreply@github.com>2018-12-20 19:13:34 (GMT)
commit17ea828b5c8e232843e6a6af15efff636ac6678a (patch)
treec6d5e82804c1a1b70764a5a654868d8d376c7794 /src
parent7f8c72b3ee738e561204fb7ffdccdce056375d76 (diff)
parent427d2df4b2d7fc35abac519c646b52a1285aab9f (diff)
downloadDoxygen-17ea828b5c8e232843e6a6af15efff636ac6678a.zip
Doxygen-17ea828b5c8e232843e6a6af15efff636ac6678a.tar.gz
Doxygen-17ea828b5c8e232843e6a6af15efff636ac6678a.tar.bz2
Merge pull request #6698 from albert-github/feature/bug_unknown_emoji_print
Print emoji text in case of unknown emoji
Diffstat (limited to 'src')
-rw-r--r--src/docparser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp
index ec018b9..100842b 100644
--- a/src/docparser.cpp
+++ b/src/docparser.cpp
@@ -2779,6 +2779,7 @@ QCString DocLink::parse(bool isJavaLink,bool isXmlLink)
case TK_EMOJI:
warn_doc_error(g_fileName,doctokenizerYYlineno,"Unsupported emoji '%s' found",
qPrint(g_token->name));
+ m_children.append(new DocWord(this,g_token->name));
break;
case TK_HTMLTAG:
if (g_token->name!="see" || !isXmlLink)
@@ -3984,6 +3985,7 @@ int DocHtmlDescTitle::parse()
case TK_EMOJI:
warn_doc_error(g_fileName,doctokenizerYYlineno,"Unsupported emoji '%s' found",
qPrint(g_token->name));
+ m_children.append(new DocWord(this,g_token->name));
break;
case TK_HTMLTAG:
{
@@ -6817,6 +6819,7 @@ reparsetoken:
{
warn_doc_error(g_fileName,doctokenizerYYlineno,"Unsupported emoji '%s' found",
qPrint(g_token->name));
+ m_children.append(new DocWord(this,g_token->name));
}
break;
}
@@ -7045,6 +7048,7 @@ void DocText::parse()
{
warn_doc_error(g_fileName,doctokenizerYYlineno,"Unsupported emoji '%s' found",
qPrint(g_token->name));
+ m_children.append(new DocWord(this,g_token->name));
}
}
break;