summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-04-25 17:32:21 (GMT)
committerluz.paz <luzpaz@users.noreply.github.com>2018-04-25 17:32:36 (GMT)
commit99a836218ca4e20862d3f816361c4586b45560ee (patch)
treedf0c1f0669598561f12d07da31a104de1ccf59af
parente75de3722b98115f27483aeacb3b2b1dbe7114a3 (diff)
downloadDoxygen-99a836218ca4e20862d3f816361c4586b45560ee.zip
Doxygen-99a836218ca4e20862d3f816361c4586b45560ee.tar.gz
Doxygen-99a836218ca4e20862d3f816361c4586b45560ee.tar.bz2
Misc. typos
Found via `codespell`
-rw-r--r--addon/doxmlparser/src/dochandler.h2
-rw-r--r--src/cite.cpp2
-rw-r--r--src/classdef.cpp4
-rw-r--r--src/classdef.h2
-rw-r--r--src/commentcnv.l4
-rw-r--r--src/condparser.cpp2
-rw-r--r--src/diagram.cpp2
-rw-r--r--src/docparser.h4
-rw-r--r--src/fortrancode.l4
-rw-r--r--src/memberdef.cpp4
-rw-r--r--src/util.cpp4
-rw-r--r--src/xmlgen.cpp2
-rw-r--r--vhdlparser/ErrorHandler.h2
-rw-r--r--vhdlparser/ParseException.cc2
-rw-r--r--vhdlparser/ParseException.h2
15 files changed, 21 insertions, 21 deletions
diff --git a/addon/doxmlparser/src/dochandler.h b/addon/doxmlparser/src/dochandler.h
index 4340dbd..59af4e3 100644
--- a/addon/doxmlparser/src/dochandler.h
+++ b/addon/doxmlparser/src/dochandler.h
@@ -571,7 +571,7 @@ class EMailHandler : public DocEMailImpl, public BaseHandler<EMailHandler>
//-----------------------------------------------------------------------------
-/* \brief Node representing a link to an URL
+/* \brief Node representing a link to a URL
*
*/
class ULinkHandler : public DocULinkImpl, public BaseHandler<ULinkHandler>
diff --git a/src/cite.cpp b/src/cite.cpp
index f86350b..b17800f 100644
--- a/src/cite.cpp
+++ b/src/cite.cpp
@@ -268,7 +268,7 @@ void CiteDict::generatePage() const
{
if (!bibFile.isEmpty())
{
- // bug_700510, multile times the same name were overwriting; creating new names
+ // bug_700510, multiple times the same name were overwriting; creating new names
// also for names with spaces
++i;
copyFile(bibFile,latexOutputDir + bibTmpFile + QCString().setNum(i) + ".bib");
diff --git a/src/classdef.cpp b/src/classdef.cpp
index e1a80ce..4ce48a7 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -2687,7 +2687,7 @@ bool ClassDef::hasNonReferenceSuperClass()
return found;
}
-/*! called from MemberDef::writeDeclaration() to (recusively) write the
+/*! called from MemberDef::writeDeclaration() to (recursively) write the
* definition of an anonymous struct, union or class.
*/
void ClassDef::writeDeclaration(OutputList &ol,MemberDef *md,bool inGroup,
@@ -2873,7 +2873,7 @@ static bool isStandardFunc(MemberDef *md)
}
/*!
- * recusively merges the `all members' lists of a class base
+ * recursively merges the `all members' lists of a class base
* with that of this class. Must only be called for classes without
* subclasses!
*/
diff --git a/src/classdef.h b/src/classdef.h
index 23c5c5c..b169221 100644
--- a/src/classdef.h
+++ b/src/classdef.h
@@ -200,7 +200,7 @@ class ClassDef : public Definition
MemberDef *getMemberByName(const QCString &) const;
/** Returns TRUE iff \a bcd is a direct or indirect base class of this
- * class. This function will recusively traverse all branches of the
+ * class. This function will recursively traverse all branches of the
* inheritance tree.
*/
bool isBaseClass(ClassDef *bcd,bool followInstances,int level=0);
diff --git a/src/commentcnv.l b/src/commentcnv.l
index aca7300..89d2fea 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -294,12 +294,12 @@ void replaceComment(int offset);
}
else
{
- /* check for fixed format; we might have some conditional as part of multilene if like C<5 .and. & */
+ /* check for fixed format; we might have some conditional as part of multiline if like C<5 .and. & */
if (isFixedForm && (g_col == 0))
{
copyToOutput(yytext,(int)yyleng);
g_nestingCount=0;
- g_commentStack.clear(); /* to be on the save side */
+ g_commentStack.clear(); /* to be on the safe side */
BEGIN(CComment);
g_commentStack.push(new CommentCtx(g_lineNr));
}
diff --git a/src/condparser.cpp b/src/condparser.cpp
index 6c5d787..ab33ae3 100644
--- a/src/condparser.cpp
+++ b/src/condparser.cpp
@@ -283,7 +283,7 @@ bool CondParser::parseVar()
}
/**
- * evaluate an operator for given valuess
+ * evaluate an operator for given values
*/
bool CondParser::evalOperator(int opId, bool lhs, bool rhs)
{
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 42792ad..667aa85 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -833,7 +833,7 @@ void TreeDiagram::drawConnectors(FTextStream &t,Image *image,
}
++rit; di=rit.current();
}
- // add last horizonal line and a vertical connection line
+ // add last horizontal line and a vertical connection line
if (bitmap)
{
if (doBase) // base classes
diff --git a/src/docparser.h b/src/docparser.h
index 8fcbed6..d7390c2 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -277,7 +277,7 @@ class DocLinkedWord : public DocNode
QCString m_tooltip;
};
-/** Node representing an URL (or email address) */
+/** Node representing a URL (or email address) */
class DocURL : public DocNode
{
public:
@@ -306,7 +306,7 @@ class DocLineBreak : public DocNode
private:
};
-/** Node representing a horizonal ruler */
+/** Node representing a horizontal ruler */
class DocHorRuler : public DocNode
{
public:
diff --git a/src/fortrancode.l b/src/fortrancode.l
index f491acb..ea74aa9 100644
--- a/src/fortrancode.l
+++ b/src/fortrancode.l
@@ -862,7 +862,7 @@ PREFIX ((NON_)?RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,4}((NON
generateLink(*g_code,yytext);
yy_pop_state();
}
-<ClassName>({ACCESS_SPEC}|ABSTRACT|EXTENDS)/[,:( ] { //| variable deklaration
+<ClassName>({ACCESS_SPEC}|ABSTRACT|EXTENDS)/[,:( ] { //| variable declaration
startFontClass("keyword");
g_code->codify(yytext);
endFontClass();
@@ -946,7 +946,7 @@ PREFIX ((NON_)?RECURSIVE{BS_}|IMPURE{BS_}|PURE{BS_}|ELEMENTAL{BS_}){0,4}((NON
g_code->codify(yytext);
endFontClass();
}
-<Declaration>({TYPE_SPEC}|{ATTR_SPEC})/[,:( ] { //| variable deklaration
+<Declaration>({TYPE_SPEC}|{ATTR_SPEC})/[,:( ] { //| variable declaration
startFontClass("keywordtype");
g_code->codify(yytext);
endFontClass();
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 4328437..0bd0701 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -101,7 +101,7 @@ static QCString addTemplateNames(const QCString &s,const QCString &n,const QCStr
// ol.endParameterName(last==FALSE)
// ...
// ol.startParameterType(first=FALSE)
-// ol.endParamtereType
+// ol.endParameterType
// ol.startParameterName
// ol.endParameterName(last==TRUE)
// ...
@@ -571,7 +571,7 @@ class MemberDefImpl
bool stat; // is it a static function?
bool proto; // is it a prototype;
bool docEnumValues; // is an enum with documented enum values.
- bool annScope; // member is part of an annoymous scope
+ bool annScope; // member is part of an anonymous scope
bool annUsed;
bool hasCallGraph;
bool hasCallerGraph;
diff --git a/src/util.cpp b/src/util.cpp
index 9100706..9762892 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -7917,7 +7917,7 @@ bool readInputFile(const char *fileName,BufStr &inBuf,bool filter,bool isSourceC
int start=0;
if (size>=2 &&
- ((inBuf.at(0)==-1 && inBuf.at(1)==-2) || // Litte endian BOM
+ ((inBuf.at(0)==-1 && inBuf.at(1)==-2) || // Little endian BOM
(inBuf.at(0)==-2 && inBuf.at(1)==-1) // big endian BOM
)
) // UCS-2 encoded file
@@ -8081,7 +8081,7 @@ QCString externalRef(const QCString &relPath,const QCString &ref,bool href)
return result;
}
-/** Writes the intensity only bitmap representated by \a data as an image to
+/** Writes the intensity only bitmap represented by \a data as an image to
* directory \a dir using the colors defined by HTML_COLORSTYLE_*.
*/
void writeColoredImgData(const char *dir,ColoredImgDataItem data[])
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 697a4d8..63fc8ad 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -175,7 +175,7 @@ static void writeCombineScript()
" <xsl:output method=\"xml\" version=\"1.0\" indent=\"no\" standalone=\"yes\" />\n"
" <xsl:template match=\"/\">\n"
" <doxygen version=\"{doxygenindex/@version}\">\n"
- " <!-- Load all doxgen generated xml files -->\n"
+ " <!-- Load all doxygen generated xml files -->\n"
" <xsl:for-each select=\"doxygenindex/compound\">\n"
" <xsl:copy-of select=\"document( concat( @refid, '.xml' ) )/doxygen/*\" />\n"
" </xsl:for-each>\n"
diff --git a/vhdlparser/ErrorHandler.h b/vhdlparser/ErrorHandler.h
index 55286b4..7500a5f 100644
--- a/vhdlparser/ErrorHandler.h
+++ b/vhdlparser/ErrorHandler.h
@@ -30,7 +30,7 @@ JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str);
// Called when the parser cannot continue parsing.
// last - the last token successfully parsed.
// unexpected - the token at which the error occurs.
- // production - the production in which this error occurrs.
+ // production - the production in which this error occurs.
virtual void handleParseError(Token *last, Token *unexpected, JAVACC_SIMPLE_STRING production, VhdlParser *parser) {
error_count++;
fprintf(stderr, "Encountered: %s at: %d:%d while parsing: %s\n", addUnicodeEscapes(unexpected->image).c_str(), unexpected->beginLine, unexpected->beginColumn, production.c_str());
diff --git a/vhdlparser/ParseException.cc b/vhdlparser/ParseException.cc
index 31ee7a3..99649af 100644
--- a/vhdlparser/ParseException.cc
+++ b/vhdlparser/ParseException.cc
@@ -53,7 +53,7 @@ namespace parser {
/**
* This is the last token that has been consumed successfully. If
* this object has been created due to a parse error, the token
- * followng this token will (therefore) be the first error token.
+ * following this token will (therefore) be the first error token.
*/
Token currentToken;
diff --git a/vhdlparser/ParseException.h b/vhdlparser/ParseException.h
index 1f3a3dc..b025912 100644
--- a/vhdlparser/ParseException.h
+++ b/vhdlparser/ParseException.h
@@ -50,7 +50,7 @@ class ParseException {
/**
* This is the last token that has been consumed successfully. If
* this object has been created due to a parse error, the token
- * followng this token will (therefore) be the first error token.
+ * following this token will (therefore) be the first error token.
*/
Token currentToken;