diff options
author | Ellinger, Wesley M <wesley.ellinger@hpe.com> | 2016-02-03 20:49:53 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-02-05 14:26:50 -0500 |
commit | 2b52de9a37422058bdd9f292e507cbd4f577d52e (patch) | |
tree | 19c3096a41a132a17ba9fdcf9013ec38a9e967b0 /util | |
parent | 3edeb622ba9b01f8d4ac7b1a08ac0f0fa8a27c67 (diff) |
RT4070: Improve struct/union regexp
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/su-filter.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/su-filter.pl b/util/su-filter.pl index 8975af64f9..3715ba263d 100644 --- a/util/su-filter.pl +++ b/util/su-filter.pl @@ -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 = $_; |