changeset 382:663e69a94246

...
author anatofuz
date Mon, 20 Jul 2020 15:10:40 +0900
parents 874577d7505f
children 3f243b59bcee
files src/gearsTools/lib/Gears/Util.pm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gearsTools/lib/Gears/Util.pm	Mon Jul 20 15:00:11 2020 +0900
+++ b/src/gearsTools/lib/Gears/Util.pm	Mon Jul 20 15:10:40 2020 +0900
@@ -85,7 +85,7 @@
       next if $static_data_gear_write_mode;
       my $args = $';
       #$args eq  (Impl* vm, pde_t* pgdir, char* init, uint sz, __code next(...));
-      while ($args =~ /\s*(struct|union|const|enum)?\s*([\w*\[\]_]+)\s*(\w+)?,/g) {
+      while ($args =~ /\s*(struct|union|const|enum)?\s*([\w*\[\]_]+)\s*(\w+)?,?/g) {
         my $const_type = $1;
         my $type = $2;
         my $vname = $3;