summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
authorrconde01 <rconde01@hotmail.com>2015-02-17 16:34:01 (GMT)
committerrconde01 <rconde01@hotmail.com>2015-02-17 16:34:01 (GMT)
commit192f9e8bf78e10c9d97e08264b1c76c8aa4edf2b (patch)
tree318a0086b7ae1b40c7fe6b792c68ad632f8db6a7 /src/scanner.l
parent5bfda3d4c1158e5429349a2698339650dcfbbe88 (diff)
downloadDoxygen-192f9e8bf78e10c9d97e08264b1c76c8aa4edf2b.zip
Doxygen-192f9e8bf78e10c9d97e08264b1c76c8aa4edf2b.tar.gz
Doxygen-192f9e8bf78e10c9d97e08264b1c76c8aa4edf2b.tar.bz2
Fix for issue 744671
C# enum members are not marked as strong
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.l b/src/scanner.l
index 01d1677..fadcbbf 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -1817,7 +1817,7 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
<FindMembers>{B}*{TYPEDEFPREFIX}{IDLATTR}?"enum"({BN}+("class"|"struct"))?{BN}+ { // for IDL: typedef [something] enum
QCString text=yytext;
isTypedef = text.find("typedef")!=-1;
- bool isStrongEnum = text.find("struct")!=-1 || text.find("class")!=-1;
+ bool isStrongEnum = text.find("struct")!=-1 || text.find("class")!=-1 || insideCS;
if (insideJava)
{
current->section = Entry::CLASS_SEC;