summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-12-20 11:04:05 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-12-20 11:04:05 (GMT)
commit427d2df4b2d7fc35abac519c646b52a1285aab9f (patch)
tree9e543c0c5cba1bc90ab23ae0cae43c4dcb8ad35f
parent449a7e2b4ff114a72be573013558bae19672ebbc (diff)
downloadDoxygen-427d2df4b2d7fc35abac519c646b52a1285aab9f.zip
Doxygen-427d2df4b2d7fc35abac519c646b52a1285aab9f.tar.gz
Doxygen-427d2df4b2d7fc35abac519c646b52a1285aab9f.tar.bz2
Print emoji text in case of unknown emoji
In case an unknown emoji was detected the 'value' was not printed to the output, this is corrected.
-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;