From 408f278e29da8f186df96e5f7862a4c0b91ecbeb Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sat, 5 Jan 2019 15:04:57 +1100 Subject: [PATCH] tools/spec: remove trailing semicolons --- tools/spec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/spec.py b/tools/spec.py index fa3bb85..9fe8bca 100644 --- a/tools/spec.py +++ b/tools/spec.py @@ -862,7 +862,7 @@ def write_dispatch(path: str, q: List[Type], reg: Registry): continue if first_arg.has_parent('VkDevice', reg): - table = "d_table"; + table = "d_table" elif first_arg.has_parent('VkInstance', reg): table = 'i_table' else: @@ -931,7 +931,7 @@ def main(): 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_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 features = [Feature(n) for n in root.findall('./feature')]