summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArmin Müller <27155134+arm-in@users.noreply.github.com>2018-06-19 20:23:51 (GMT)
committerGitHub <noreply@github.com>2018-06-19 20:23:51 (GMT)
commit1ef338604f827edbdc0cb9b627ff141a050f5b2a (patch)
treeb380fe34b05a76637bfbf42b5038e8ba1f9364aa /src
parent9aa3d77576029708caef3d14e0c64e3f53bf6b0b (diff)
downloadDoxygen-1ef338604f827edbdc0cb9b627ff141a050f5b2a.zip
Doxygen-1ef338604f827edbdc0cb9b627ff141a050f5b2a.tar.gz
Doxygen-1ef338604f827edbdc0cb9b627ff141a050f5b2a.tar.bz2
Update scanner.l
Diffstat (limited to 'src')
-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);