提交 2b52de9a 编写于 作者: E Ellinger, Wesley M 提交者: Rich Salz

RT4070: Improve struct/union regexp

Reviewed-by: NAndy Polyakov <appro@openssl.org>
上级 3edeb622
......@@ -47,7 +47,7 @@ while(<>) {
do_output($out);
$in_su = 0;
}
} elsif($incomm <= 0 && /( *)(static )?(const )?(union|struct) ([^\s]+ )?\{/) {
} elsif($incomm <= 0 && /( *)(static )?(const )?(union|struct) ([a-zA-Z_\$][\$0-9a-zA-Z_]+ )?\{/) {
$in_su = 1;
$indent = $1;
$out = $_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册