diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-09-27 19:20:12 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-09-27 19:20:12 (GMT) |
commit | 22dc10cfbe5042f21b9d706e5e8bb41749f65786 (patch) | |
tree | 5485e95b8a8a758f2d0d0a39e611d4d9b1ad519b /src/docparser.cpp | |
parent | db36de70fc9090e26c22ab288492407becb3a95e (diff) | |
download | Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.zip Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.tar.gz Doxygen-22dc10cfbe5042f21b9d706e5e8bb41749f65786.tar.bz2 |
Release-1.4.4-20050927
Diffstat (limited to 'src/docparser.cpp')
-rw-r--r-- | src/docparser.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/docparser.cpp b/src/docparser.cpp index 02fb086..f90b545 100644 --- a/src/docparser.cpp +++ b/src/docparser.cpp @@ -1285,6 +1285,12 @@ DocSymbol::SymType DocSymbol::decodeSymbol(const QString &symName,char *letter) else if (symName=="&") return DocSymbol::Amp; else if (symName=="'") return DocSymbol::Apos; else if (symName==""") return DocSymbol::Quot; + else if (symName=="‘") return DocSymbol::Lsquo; + else if (symName=="’") return DocSymbol::Rsquo; + else if (symName=="“") return DocSymbol::Ldquo; + else if (symName=="”") return DocSymbol::Rdquo; + else if (symName=="–") return DocSymbol::Ndash; + else if (symName=="—") return DocSymbol::Mdash; else if (symName=="ß") return DocSymbol::Szlig; else if (symName==" ") return DocSymbol::Nbsp; else if (l==6 && symName.right(4)=="uml;") @@ -2587,6 +2593,12 @@ int DocIndexEntry::parse() case DocSymbol::Percent: m_entry+='%'; break; case DocSymbol::Apos: m_entry+='\''; break; case DocSymbol::Quot: m_entry+='"'; break; + case DocSymbol::Lsquo: m_entry+='`'; break; + case DocSymbol::Rsquo: m_entry+='\''; break; + case DocSymbol::Ldquo: m_entry+="``"; break; + case DocSymbol::Rdquo: m_entry+="''"; break; + case DocSymbol::Ndash: m_entry+="--"; break; + case DocSymbol::Mdash: m_entry+="---"; break; default: warn_doc_error(g_fileName,doctokenizerYYlineno,"Warning: Unexpected symbol found as argument of \\addindex"); break; |