@@ -643,6 +643,7 @@ Token DocParser::handleStyleArgument(DocNodeVariant *parent,DocNodeList &childre
643643 reg::match (context.token ->name .str (),specialChar))
644644 {
645645 // special character that ends the markup command
646+ AUTO_TRACE_ADD (" special character ending style argument: '{}'" ,context.token ->name );
646647 return tok;
647648 }
648649 if (!defaultHandleToken (parent,tok,children))
@@ -740,12 +741,13 @@ void DocParser::handleStyleLeave(DocNodeVariant *parent,DocNodeList &children,
740741 */
741742void DocParser::handlePendingStyleCommands (DocNodeVariant *parent,DocNodeList &children)
742743{
743- AUTO_TRACE ();
744+ AUTO_TRACE (" context.styleStack.size()={} " ,context. styleStack . size () );
744745 if (!context.styleStack .empty ())
745746 {
746747 const DocStyleChange *sc = &std::get<DocStyleChange>(*context.styleStack .top ());
747748 while (sc && sc->position ()>=context.nodeStack .size ())
748749 { // there are unclosed style modifiers in the paragraph
750+ AUTO_TRACE_ADD (" unclosed style at position {}" ,sc->position ());
749751 children.append <DocStyleChange>(this ,parent,context.nodeStack .size (),
750752 sc->style (),sc->tagName (),FALSE );
751753 context.initialStyleStack .push (context.styleStack .top ());
@@ -813,7 +815,7 @@ Token DocParser::handleAHref(DocNodeVariant *parent,DocNodeList &children,
813815
814816void DocParser::handleUnclosedStyleCommands ()
815817{
816- AUTO_TRACE ();
818+ AUTO_TRACE (" content.initialStyleStack.size()={} " ,context. initialStyleStack . size () );
817819 if (!context.initialStyleStack .empty ())
818820 {
819821 QCString tagName = std::get<DocStyleChange>(*context.initialStyleStack .top ()).tagName ();
0 commit comments