Skip to content

Commit

Permalink
Misc. typos
Browse files Browse the repository at this point in the history
Found via `codespell`
  • Loading branch information
luzpaz committed Apr 25, 2018
1 parent e75de37 commit 99a8362
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion addon/doxmlparser/src/dochandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/cite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions src/classdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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!
*/
Expand Down
2 changes: 1 addition & 1 deletion src/classdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/commentcnv.l
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
2 changes: 1 addition & 1 deletion src/condparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/diagram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/docparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -306,7 +306,7 @@ class DocLineBreak : public DocNode
private:
};

/** Node representing a horizonal ruler */
/** Node representing a horizontal ruler */
class DocHorRuler : public DocNode
{
public:
Expand Down
4 changes: 2 additions & 2 deletions src/fortrancode.l
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions src/memberdef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
// ...
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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[])
Expand Down
2 changes: 1 addition & 1 deletion src/xmlgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion vhdlparser/ErrorHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion vhdlparser/ParseException.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion vhdlparser/ParseException.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 99a8362

Please sign in to comment.