Revision: 4408 http://geany.svn.sourceforge.net/geany/?rev=4408&view=rev Author: ntrel Date: 2009-11-06 17:24:31 +0000 (Fri, 06 Nov 2009)
Log Message: ----------- Quick hack to parse contents of D extern{} and version{} blocks.
Modified Paths: -------------- trunk/ChangeLog trunk/tagmanager/c.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-11-06 17:14:00 UTC (rev 4407) +++ trunk/ChangeLog 2009-11-06 17:24:31 UTC (rev 4408) @@ -6,6 +6,8 @@ (Ignore some more D keywords). * tagmanager/c.c: Fix creating D interface tags properly. + * tagmanager/c.c: + Parse contents of D extern{} and version{} blocks.
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 17:14:00 UTC (rev 4407) +++ trunk/tagmanager/c.c 2009-11-06 17:24:31 UTC (rev 4408) @@ -394,7 +394,8 @@ { "event", KEYWORD_EVENT, { 0, 0, 1, 0, 1, 0, 0 } }, { "explicit", KEYWORD_EXPLICIT, { 0, 1, 1, 0, 0, 0, 1 } }, { "extends", KEYWORD_EXTENDS, { 0, 0, 0, 1, 1, 0, 0 } }, - { "extern", KEYWORD_EXTERN, { 1, 1, 1, 0, 1, 1, 1 } }, + { "extern", KEYWORD_EXTERN, { 1, 1, 1, 0, 1, 1, 0 } }, + { "extern", KEYWORD_NAMESPACE, { 0, 0, 0, 0, 0, 0, 1 } }, /* hack to ignore extern */ { "final", KEYWORD_FINAL, { 0, 0, 0, 1, 0, 0, 1 } }, { "finally", KEYWORD_FINALLY, { 0, 0, 0, 0, 0, 1, 1 } }, { "float", KEYWORD_FLOAT, { 1, 1, 1, 1, 0, 1, 1 } }, @@ -470,6 +471,7 @@ { "unsigned", KEYWORD_UNSIGNED, { 1, 1, 1, 0, 0, 0, 1 } }, { "ushort", KEYWORD_USHORT, { 0, 0, 1, 0, 0, 1, 1 } }, { "using", KEYWORD_USING, { 0, 1, 1, 0, 0, 1, 0 } }, + { "version", KEYWORD_NAMESPACE, { 0, 0, 0, 0, 0, 0, 1 } }, /* hack to ignore version */ { "virtual", KEYWORD_VIRTUAL, { 0, 1, 1, 0, 1, 1, 0 } }, { "void", KEYWORD_VOID, { 1, 1, 1, 1, 1, 1, 1 } }, { "volatile", KEYWORD_VOLATILE, { 1, 1, 1, 1, 0, 0, 1 } },
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.