提交 e4f6e123 编写于 作者: M Matthias Bolte

remote generator: Fix comment ignoring regex

上级 9817604a
......@@ -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";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册