summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2018-06-24 08:45:02 (GMT)
committerGitHub <noreply@github.com>2018-06-24 08:45:02 (GMT)
commit9502844d67323ca12bb8c46f3a352c5990d44d74 (patch)
tree2cd231a866f17f13de40d70b33030d72a8505917 /src
parent8e767d891c68f9ac71c9d75ea963f0ae5cc0edce (diff)
parent8332bb2b04312c21897000c78a602eca09597f7d (diff)
downloadDoxygen-9502844d67323ca12bb8c46f3a352c5990d44d74.zip
Doxygen-9502844d67323ca12bb8c46f3a352c5990d44d74.tar.gz
Doxygen-9502844d67323ca12bb8c46f3a352c5990d44d74.tar.bz2
Merge pull request #774 from arm-in/master
Typos found by running "codespell"
Diffstat (limited to 'src')
-rw-r--r--src/doxygen.cpp2
-rw-r--r--src/doxygen.md2
-rw-r--r--src/rtfdocvisitor.cpp2
-rw-r--r--src/scanner.l6
4 files changed, 6 insertions, 6 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index bc244b7..29b889e 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -9574,7 +9574,7 @@ int readDir(QFileInfo *fi,
if (fi->isSymLink())
{
dirName = resolveSymlink(dirName.data());
- if (dirName.isEmpty()) return 0; // recusive symlink
+ if (dirName.isEmpty()) return 0; // recursive symlink
if (g_pathsVisited.find(dirName)) return 0; // already visited path
g_pathsVisited.insert(dirName,(void*)0x8);
}
diff --git a/src/doxygen.md b/src/doxygen.md
index ccb47b9..17144ec 100644
--- a/src/doxygen.md
+++ b/src/doxygen.md
@@ -9,7 +9,7 @@ links to the relevant parts of the code. This document is intended for
developers who want to work on doxygen. Users of doxygen are referred to the
[User Manual](http://www.doxygen.org/manual.html).
-The generic starting point of the application is of cource the main() function.
+The generic starting point of the application is of course the main() function.
Configuration options
---------------------
diff --git a/src/rtfdocvisitor.cpp b/src/rtfdocvisitor.cpp
index 7e3f104..ec6d015 100644
--- a/src/rtfdocvisitor.cpp
+++ b/src/rtfdocvisitor.cpp
@@ -1079,7 +1079,7 @@ void RTFDocVisitor::visitPost(DocHtmlHeader *)
{
if (m_hide) return;
DBG_RTF("{\\comment RTFDocVisitor::visitPost(DocHtmlHeader)}\n");
- // close open table of contens entry
+ // close open table of contents entry
m_t << "} \\par";
m_t << "}" << endl; // end section
m_lastIsPara=TRUE;
diff --git a/src/scanner.l b/src/scanner.l
index 3609d32..21b845f 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -4793,7 +4793,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
<FuncQual>{ID} { // typically a K&R style C function
if (insideCS && qstrcmp(yytext,"where")==0)
{
- // type contraint for a method
+ // type constraint for a method
delete current->typeConstr;
current->typeConstr = new ArgumentList;
current->typeConstr->append(new Argument);
@@ -5535,7 +5535,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
baseName.resize(0);
BEGIN( BasesProt ) ;
}
- else if (insideCS && qstrcmp(yytext,"where")==0) // C# type contraint
+ else if (insideCS && qstrcmp(yytext,"where")==0) // C# type constraint
{
delete current->typeConstr;
current->typeConstr = new ArgumentList;
@@ -5815,7 +5815,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
QCString baseScope = yytext;
if (insideCS && baseScope.stripWhiteSpace()=="where")
{
- // type contraint for a class
+ // type constraint for a class
delete current->typeConstr;
current->typeConstr = new ArgumentList;
current->typeConstr->append(new Argument);