Parse D template blocks

Note: they are listed under Module in the symbol list.
This commit is contained in:
Nick Treleaven 2012-01-04 16:41:32 +00:00
parent 39ff492e4b
commit 40499d7511

View File

@ -483,7 +483,8 @@ static const keywordDesc KeywordTable [] = {
{ "switch", KEYWORD_SWITCH, { 1, 1, 1, 1, 0, 1, 1 } },
{ "synchronized", KEYWORD_SYNCHRONIZED, { 0, 0, 0, 1, 0, 0, 1 } },
{ "task", KEYWORD_TASK, { 0, 0, 0, 0, 1, 0, 0 } },
{ "template", KEYWORD_TEMPLATE, { 0, 1, 0, 0, 0, 0, 1 } },
{ "template", KEYWORD_TEMPLATE, { 0, 1, 0, 0, 0, 0, 0 } },
{ "template", KEYWORD_NAMESPACE, { 0, 0, 0, 0, 0, 0, 1 } }, /* parse block */
{ "this", KEYWORD_THIS, { 0, 0, 1, 1, 0, 1, 0 } }, /* 0 to allow D ctor tags */
{ "throw", KEYWORD_THROW, { 0, 1, 1, 1, 0, 1, 1 } },
{ "throws", KEYWORD_THROWS, { 0, 0, 0, 1, 0, 1, 0 } },