]> granicus.if.org Git - icinga2/commitdiff
Add missing keywords in ConfigCompiler::GetKeywords
authorGunnar Beutner <gunnar@beutner.name>
Wed, 7 Oct 2015 13:09:55 +0000 (06:09 -0700)
committerGunnar Beutner <gunnar@beutner.name>
Wed, 7 Oct 2015 13:09:55 +0000 (06:09 -0700)
refs #9960

lib/config/config_lexer.ll
lib/config/configcompiler.cpp

index 075dfa9321e1cb7ac945c6f05f671bc8b0e4bf98..7827a183d7d37e2741db0dca6c35c631f603e696 100644 (file)
@@ -169,7 +169,7 @@ object                              return T_OBJECT;
 template                       return T_TEMPLATE;
 include                                return T_INCLUDE;
 include_recursive              return T_INCLUDE_RECURSIVE;
-include_zones          return T_INCLUDE_ZONES;
+include_zones                  return T_INCLUDE_ZONES;
 library                                return T_LIBRARY;
 null                           return T_NULL;
 true                           { yylval->boolean = 1; return T_BOOLEAN; }
index de91cb88344989a32a3ed511b4a61e2a6e4ea5fa..412801a87d88be256610461940f92d16f0c89efa 100644 (file)
@@ -323,6 +323,7 @@ const std::vector<String>& ConfigCompiler::GetKeywords(void)
                keywords.push_back("template");
                keywords.push_back("include");
                keywords.push_back("include_recursive");
+               keywords.push_back("include_zones");
                keywords.push_back("library");
                keywords.push_back("null");
                keywords.push_back("true");
@@ -333,6 +334,7 @@ const std::vector<String>& ConfigCompiler::GetKeywords(void)
                keywords.push_back("globals");
                keywords.push_back("locals");
                keywords.push_back("use");
+               keywords.push_back("ignore_on_error");
                keywords.push_back("apply");
                keywords.push_back("to");
                keywords.push_back("where");