Quick hack to parse contents of D extern{} and version{} blocks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4408 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
3a45a2c70c
commit
faa7a2eb4f
@ -6,6 +6,8 @@
|
|||||||
(Ignore some more D keywords).
|
(Ignore some more D keywords).
|
||||||
* tagmanager/c.c:
|
* tagmanager/c.c:
|
||||||
Fix creating D interface tags properly.
|
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>
|
2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -394,7 +394,8 @@ static const keywordDesc KeywordTable [] = {
|
|||||||
{ "event", KEYWORD_EVENT, { 0, 0, 1, 0, 1, 0, 0 } },
|
{ "event", KEYWORD_EVENT, { 0, 0, 1, 0, 1, 0, 0 } },
|
||||||
{ "explicit", KEYWORD_EXPLICIT, { 0, 1, 1, 0, 0, 0, 1 } },
|
{ "explicit", KEYWORD_EXPLICIT, { 0, 1, 1, 0, 0, 0, 1 } },
|
||||||
{ "extends", KEYWORD_EXTENDS, { 0, 0, 0, 1, 1, 0, 0 } },
|
{ "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 } },
|
{ "final", KEYWORD_FINAL, { 0, 0, 0, 1, 0, 0, 1 } },
|
||||||
{ "finally", KEYWORD_FINALLY, { 0, 0, 0, 0, 0, 1, 1 } },
|
{ "finally", KEYWORD_FINALLY, { 0, 0, 0, 0, 0, 1, 1 } },
|
||||||
{ "float", KEYWORD_FLOAT, { 1, 1, 1, 1, 0, 1, 1 } },
|
{ "float", KEYWORD_FLOAT, { 1, 1, 1, 1, 0, 1, 1 } },
|
||||||
@ -470,6 +471,7 @@ static const keywordDesc KeywordTable [] = {
|
|||||||
{ "unsigned", KEYWORD_UNSIGNED, { 1, 1, 1, 0, 0, 0, 1 } },
|
{ "unsigned", KEYWORD_UNSIGNED, { 1, 1, 1, 0, 0, 0, 1 } },
|
||||||
{ "ushort", KEYWORD_USHORT, { 0, 0, 1, 0, 0, 1, 1 } },
|
{ "ushort", KEYWORD_USHORT, { 0, 0, 1, 0, 0, 1, 1 } },
|
||||||
{ "using", KEYWORD_USING, { 0, 1, 1, 0, 0, 1, 0 } },
|
{ "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 } },
|
{ "virtual", KEYWORD_VIRTUAL, { 0, 1, 1, 0, 1, 1, 0 } },
|
||||||
{ "void", KEYWORD_VOID, { 1, 1, 1, 1, 1, 1, 1 } },
|
{ "void", KEYWORD_VOID, { 1, 1, 1, 1, 1, 1, 1 } },
|
||||||
{ "volatile", KEYWORD_VOLATILE, { 1, 1, 1, 1, 0, 0, 1 } },
|
{ "volatile", KEYWORD_VOLATILE, { 1, 1, 1, 1, 0, 0, 1 } },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user