diff --git a/daemon/remote_generator.pl b/daemon/remote_generator.pl index a8ddbfe7eb05b3a7e9c06098fcbc03fb89592028..abcead349c6a1782ab6584a72dae7cac7683169f 100755 --- a/daemon/remote_generator.pl +++ b/daemon/remote_generator.pl @@ -380,7 +380,7 @@ elsif ($opt_b) { } else { push(@args_list, "args->$2"); } - } elsif ($args_member =~ m/^\/*/) { + } elsif ($args_member =~ m/^(\/)?\*/) { # ignore comments } else { die "unhandled type for argument value: $args_member"; @@ -909,7 +909,7 @@ elsif ($opt_k) { push(@args_list, "$type_name $arg_name"); push(@setters_list, "args.$arg_name = $arg_name;"); - } elsif ($args_member =~ m/^\/*/) { + } elsif ($args_member =~ m/^(\/)?\*/) { # ignore comments } else { die "unhandled type for argument value: $args_member";