From 97a84a3e541e6773d34d097b6fab981aa3ca12a5 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 19 Sep 2016 23:54:36 +0900 Subject: [PATCH] fix re_camel_case for Win32 word example VkStructureType sType = VkStructureType.VK_STRUCTURE_TYPE_WIN32SURFACE_CREATE_INFO_KHR; to VkStructureType sType = VkStructureType.VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR; --- vkdgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vkdgen.py b/vkdgen.py index e94355b..e6c0ec6 100644 --- a/vkdgen.py +++ b/vkdgen.py @@ -16,7 +16,7 @@ re_single_const = re.compile(r"^const\s+(.+)\*\s*$") re_double_const = re.compile(r"^const\s+(.+)\*\s+const\*\s*$") re_array = re.compile(r"^([^\[]+)\[(\d+)\]$") -re_camel_case = re.compile(r"([a-z])([A-Z])") +re_camel_case = re.compile(r"([a-z0-9])([A-Z])") re_long_int = re.compile(r"([0-9]+)ULL") if __name__ == "__main__":