summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 2cacccd..d603824 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -5332,8 +5332,8 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
}
}
<ClassTemplSpec>"<" {
- current->name += yytext;
- sharpCount++;
+ current->name += yytext;
+ if (roundCount==0) sharpCount++;
}
<ClassTemplSpec>. {
current->name += yytext;