Permalink
Browse files

Fix for issue 744671

C# enum members are not marked as strong
  • Loading branch information...
rconde01 committed Feb 17, 2015
1 parent 5bfda3d commit 192f9e8bf78e10c9d97e08264b1c76c8aa4edf2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scanner.l
View
@@ -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;

0 comments on commit 192f9e8

Please sign in to comment.