From d7346bf74929d30f79afa4f5a4adb2482277c02f Mon Sep 17 00:00:00 2001 From: Mike Schuchardt Date: Tue, 12 Sep 2017 10:45:48 -0600 Subject: [PATCH] Ignore comment tag in extension require block --- VulkanHppGenerator.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index a22e6d8..54c2d61 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -1649,6 +1649,10 @@ void readExtensionRequire(tinyxml2::XMLElement * element, VkData & vkData, std:: { readExtensionEnum(child, vkData.enums, tag); } + else if (value == "comment") + { + // do nothing for comment + } else { assert(value=="usage");