summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
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/scanner.l
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/scanner.l')
-rw-r--r--src/scanner.l6
1 files changed, 3 insertions, 3 deletions
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);