SF.net SVN: geany:[4407] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Fri Nov 6 17:14:00 UTC 2009
Revision: 4407
http://geany.svn.sourceforge.net/geany/?rev=4407&view=rev
Author: ntrel
Date: 2009-11-06 17:14:00 +0000 (Fri, 06 Nov 2009)
Log Message:
-----------
Fix creating D interface tags properly.
Modified Paths:
--------------
trunk/ChangeLog
trunk/tagmanager/c.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-11-06 13:03:28 UTC (rev 4406)
+++ trunk/ChangeLog 2009-11-06 17:14:00 UTC (rev 4407)
@@ -4,6 +4,8 @@
Parse D functions with contracts (fixes #1885480).
Parse D alias statement like typedef.
(Ignore some more D keywords).
+ * tagmanager/c.c:
+ Fix creating D interface tags properly.
2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/tagmanager/c.c
===================================================================
--- trunk/tagmanager/c.c 2009-11-06 13:03:28 UTC (rev 4406)
+++ trunk/tagmanager/c.c 2009-11-06 17:14:00 UTC (rev 4407)
@@ -273,7 +273,7 @@
{
CK_UNDEFINED = -1,
CK_CLASS, CK_DEFINE, CK_ENUMERATOR, CK_FUNCTION,
- CK_ENUMERATION, CK_MEMBER, CK_NAMESPACE, CK_PROTOTYPE,
+ CK_ENUMERATION, CK_INTERFACE, CK_MEMBER, CK_NAMESPACE, CK_PROTOTYPE,
CK_STRUCT, CK_TYPEDEF, CK_UNION, CK_VARIABLE,
CK_EXTERN_VARIABLE
} cKind;
@@ -284,6 +284,7 @@
{ TRUE, 'e', "enumerator", "enumerators (values inside an enumeration)"},
{ TRUE, 'f', "function", "function definitions"},
{ TRUE, 'g', "enum", "enumeration names"},
+ { TRUE, 'i', "interface", "interfaces"}, /* for D */
{ TRUE, 'm', "member", "class, struct, and union members"},
{ TRUE, 'n', "namespace", "namespaces"},
{ FALSE, 'p', "prototype", "function prototypes"},
@@ -965,6 +966,7 @@
case TAG_ENUM: result = CK_ENUMERATION; break;
case TAG_ENUMERATOR: result = CK_ENUMERATOR; break;
case TAG_FUNCTION: result = CK_FUNCTION; break;
+ case TAG_INTERFACE: result = CK_INTERFACE; break;
case TAG_MEMBER: result = CK_MEMBER; break;
case TAG_NAMESPACE: result = CK_NAMESPACE; break;
case TAG_PROTOTYPE: result = CK_PROTOTYPE; break;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list