diff --git a/doc/index.html b/doc/index.html
index b3f8d89..077dcf2 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -129,7 +129,7 @@
MwEsuccess
- MwEerror,
+ MwEerror;
MwGetLastError()
@@ -225,25 +225,25 @@
MwVulkanField_GetInstanceProcAddr
- MwVulkanField_Instance,
+ MwVulkanField_Instance;
- MwVulkanField_Surface,
+ MwVulkanField_Surface;
- MwVulkanField_PhysicalDevice,
+ MwVulkanField_PhysicalDevice;
- MwVulkanField_LogicalDevice,
+ MwVulkanField_LogicalDevice;
- MwVulkanField_GraphicsQueueIndex,
+ MwVulkanField_GraphicsQueueIndex;
- MwVulkanField_PresentQueueIndex,
+ MwVulkanField_PresentQueueIndex;
- MwVulkanField_PresentQueue,
+ MwVulkanField_PresentQueue;
MwVulkanField
@@ -1270,14 +1270,14 @@
- MwEsuccess = 0,
+ MwEsuccess = 0;
-
No error.
- MwEerror,
+ MwEerror;
-
There was an error.
@@ -1601,56 +1601,56 @@
- MwVulkanField_GetInstanceProcAddr = 0,
+ MwVulkanField_GetInstanceProcAddr = 0;
-
The address of the vulkan widget's vkGetInstanceProcAddr function (PFN_vkGetInstanceProcAddr).
- MwVulkanField_Instance,
+ MwVulkanField_Instance;
-
The address of the vulkan widget's instance (VkInstance).
- MwVulkanField_Surface,
+ MwVulkanField_Surface;
-
The address of the vulkan widget's surface (VkSurfaceKHR).
- MwVulkanField_PhysicalDevice,
+ MwVulkanField_PhysicalDevice;
-
The address of the vulkan widget's physical device (VkPhysicalDevice).
- MwVulkanField_LogicalDevice,
+ MwVulkanField_LogicalDevice;
-
The address of the vulkan widget's logical device (VkDevice).
- MwVulkanField_GraphicsQueueIndex,
+ MwVulkanField_GraphicsQueueIndex;
-
The address of the index that the vulkan widget uses for the graphics queue (uint32_t *).
- MwVulkanField_PresentQueueIndex,
+ MwVulkanField_PresentQueueIndex;
-
The address of the index that the vulkan widget uses for the present queue (uint32_t *).
- MwVulkanField_PresentQueue,
+ MwVulkanField_PresentQueue;
-
The address of the vulkan widget's graphics queue (VkQueue).
diff --git a/tools/doc.pl b/tools/doc.pl
index cf8ac7a..9b2302b 100755
--- a/tools/doc.pl
+++ b/tools/doc.pl
@@ -114,7 +114,7 @@ sub scan_dir {
$l =~ s/[ \t]+/ /g;
$l =~ s/[ ]*\\$//g;
- $l =~ s/[ ]*(?:;|\{.*)[ ]*$/;/g;
+ $l =~ s/[ ]*(?:;|,|\{.*)[ ]*$/;/g;
if (!($l =~ /^#/)) {
$l =~ s/\(([^\)]+)\)/arguments($1)/ge;
}