projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3edeb62
)
RT4070: Improve struct/union regexp
author
Ellinger, Wesley M
<wesley.ellinger@hpe.com>
Thu, 4 Feb 2016 01:49:53 +0000
(20:49 -0500)
committer
Rich Salz
<rsalz@openssl.org>
Fri, 5 Feb 2016 19:26:50 +0000
(14:26 -0500)
Reviewed-by: Andy Polyakov <appro@openssl.org>
util/su-filter.pl
patch
|
blob
|
history
diff --git
a/util/su-filter.pl
b/util/su-filter.pl
index 8975af64f95c238c8613cc65f9106b5aa3566c0a..3715ba263d70910dbf05f237d89d8aa830898398 100644
(file)
--- 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 = $_;