1
2
3
4 #include <sngcm/cmlexer/ContainerFileKeywords.hpp>
5 #include <sngcm/cmlexer/ContainerFileTokens.hpp>
6
7 namespace ContainerFileKeywords
8 {
9 using namespace ContainerFileTokens;
10
11 Keyword keywords[] =
12 {
13 {U"project", PROJECT}
14 {U"solution", SOLUTION}
15 {U"reference", REFERENCE}
16 {U"source", SOURCE}
17 {U"resource", RESOURCE}
18 {U"text", TEXT}
19 {U"target", TARGET}
20 {U"program", PROGRAM}
21 {U"winguiapp", WINGUIAPP}
22 {U"winapp", WINAPP}
23 {U"library", LIBRARY}
24 {U"winlib", WINLIB}
25 {U"unitTest", UNITTEST}
26 {U"activeProject", ACTIVEPROJECT}
27 {nullptr, -1}
28 };
29
30 KeywordMap keywordMap(keywords);
31
32 KeywordMap* GetKeywordMap()
33 {
34 return &keywordMap;
35 }
36 }