From c0517569cade65225b6f35e1b67aaa664728a50a Mon Sep 17 00:00:00 2001 From: albert-github Date: Fri, 14 May 2021 11:46:08 +0200 Subject: Inconsistent behavior between unknown command and unknown html entity When having: ``` /** * an unknown command \unkn * * an unknown html entity \ */ void fie(); ``` we get the, correct, warnings: ``` warning: Found unknown command '\unkn' warning: Unsupported symbol \ found ``` but contrary to ``unkn` the text for `\` is not echoed to the output. --- src/docparser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/docparser.cpp b/src/docparser.cpp index 331355f..4e316a8 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -6771,6 +6771,7 @@ reparsetoken: } else { + m_children.push_back(std::make_unique(this,g_token->name)); warn_doc_error(g_fileName,getDoctokinizerLineNr(),"Unsupported symbol %s found", qPrint(g_token->name)); } -- cgit v0.12