mirror of
https://github.com/openssl/openssl.git
synced 2025-03-19 19:50:42 +08:00
RT4070: Improve struct/union regexp
Reviewed-by: Andy Polyakov <appro@openssl.org>
This commit is contained in:
parent
3edeb622ba
commit
2b52de9a37
@ -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 = $_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user