tools/spec: remove trailing semicolons

This commit is contained in:
Danny Robson 2019-01-05 15:04:57 +11:00
parent a1e15882f6
commit 408f278e29

View File

@ -862,7 +862,7 @@ def write_dispatch(path: str, q: List[Type], reg: Registry):
continue continue
if first_arg.has_parent('VkDevice', reg): if first_arg.has_parent('VkDevice', reg):
table = "d_table"; table = "d_table"
elif first_arg.has_parent('VkInstance', reg): elif first_arg.has_parent('VkInstance', reg):
table = 'i_table' table = 'i_table'
else: else:
@ -931,7 +931,7 @@ def main():
reg.types['VkEnum'] = AliasType('VkEnum', 'int32_t') reg.types['VkEnum'] = AliasType('VkEnum', 'int32_t')
reg.types['VK_DEFINE_NON_DISPATCHABLE_HANDLE'] = AliasType("VK_DEFINE_NON_DISPATCHABLE_HANDLE", "uint64_t") reg.types['VK_DEFINE_NON_DISPATCHABLE_HANDLE'] = AliasType("VK_DEFINE_NON_DISPATCHABLE_HANDLE", "uint64_t")
reg.types['VK_DEFINE_HANDLE'] = AliasType("VK_DEFINE_HANDLE", "void*") reg.types['VK_DEFINE_HANDLE'] = AliasType("VK_DEFINE_HANDLE", "void*")
reg.types['VK_NULL_HANDLE'] = AliasValue("VK_NULL_HANDLE", "nullptr"); reg.types['VK_NULL_HANDLE'] = AliasValue("VK_NULL_HANDLE", "nullptr")
# Request serialisation of all features # Request serialisation of all features
features = [Feature(n) for n in root.findall('./feature')] features = [Feature(n) for n in root.findall('./feature')]