We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d91c532 commit af5dfbaCopy full SHA for af5dfba
tagmanager/ctags/c.c
@@ -2637,7 +2637,8 @@ static void processColon (statementInfo *const st)
2637
else if (c == ';')
2638
setToken (st, TOKEN_SEMICOLON);
2639
}
2640
- else if (isLanguage (Lang_cpp) && st->declaration == DECL_ENUM)
+ else if ((isLanguage (Lang_cpp) || isLanguage (Lang_csharp)) &&
2641
+ st->declaration == DECL_ENUM)
2642
{
2643
/* skip enum's base type */
2644
c = skipToOneOf ("{;");
tests/ctags/bug1515910.cs.tags
@@ -1,9 +1,9 @@
1
# format=tagmanager
2
C�1�0
3
+Enum1�2�0
4
MyGenericClass1�1�0
-Value1�4�byte�0
5
-Values�4�byte�0
6
-byte�2�0
+Value1�4�Enum1�0
+Values�4�Enum1�0
7
int1�8�C�0�int
8
str1�8�C�0
9
str2�8�C�0
0 commit comments