diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/docbookvisitor.cpp | 10 | ||||
-rw-r--r-- | src/doxygen.cpp | 2 | ||||
-rw-r--r-- | src/rtfdocvisitor.cpp | 4 | ||||
-rw-r--r-- | src/scanner.l | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/docbookvisitor.cpp b/src/docbookvisitor.cpp index 3988390..c36bb00 100644 --- a/src/docbookvisitor.cpp +++ b/src/docbookvisitor.cpp @@ -767,15 +767,13 @@ DB_VIS_C } break; case DocSimpleSect::User: + case DocSimpleSect::Rcs: + case DocSimpleSect::Unknown: if (s->hasTitle()) m_t << "<formalpara>" << endl; else m_t << "<para>" << endl; break; - case DocSimpleSect::Rcs: - case DocSimpleSect::Unknown: - m_t << "<para>" << endl; - break; } } @@ -785,11 +783,9 @@ DB_VIS_C if (m_hide) return; switch(s->type()) { + case DocSimpleSect::User: case DocSimpleSect::Rcs: case DocSimpleSect::Unknown: - m_t << "</para>" << endl; - break; - case DocSimpleSect::User: if (s->hasTitle()) m_t << "</formalpara>" << endl; else diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 08d3bc7..da61796 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -10021,7 +10021,7 @@ static void escapeAliases() while ((in=value.find("^^",p))!=-1) { newValue+=value.mid(p,in-p); - newValue+="@_linebr"; + newValue+="\\\\_linebr"; p=in+2; } newValue+=value.mid(p,value.length()-p); diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp index 1e2bb89..f44da77 100644 --- a/src/rtfdocvisitor.cpp +++ b/src/rtfdocvisitor.cpp @@ -771,16 +771,18 @@ void RTFDocVisitor::visitPre(DocSimpleSect *s) m_t << "}"; // end bold incIndentLevel(); m_t << rtf_Style_Reset << getStyle("DescContinue"); + m_t << "{\\s17 \\sa60 \\sb30\n"; } m_lastIsPara=FALSE; } -void RTFDocVisitor::visitPost(DocSimpleSect *) +void RTFDocVisitor::visitPost(DocSimpleSect *s) { if (m_hide) return; DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocSimpleSect)}\n"); if (!m_lastIsPara) m_t << "\\par" << endl; decIndentLevel(); + if (s->type()!=DocSimpleSect::User && s->type()!=DocSimpleSect::Rcs) m_t << "}"; m_t << "}"; // end desc m_lastIsPara=TRUE; } diff --git a/src/scanner.l b/src/scanner.l index cad997e..6633098 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -6829,6 +6829,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP}) <SkipComment>[^\*\n]+ <*>"[[" { // C++11 attribute + if (!insideCpp) REJECT; + if (YY_START == CopyGString || YY_START == CopyGString) REJECT; lastC11AttributeContext = YY_START; BEGIN( SkipC11Attribute ); } |