summaryrefslogtreecommitdiffstats
path: root/util/openssl-format-source
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-20 13:37:42 +0100
committerMatt Caswell <matt@openssl.org>2015-01-22 10:20:07 +0100
commitacb82df4d368027e2fab7dde18f52fcefffbd0e9 (patch)
tree6f66d872f9d03fdea4954333e77d3f2f7adac9f3 /util/openssl-format-source
parentScript fixes. (diff)
downloadopenssl-acb82df4d368027e2fab7dde18f52fcefffbd0e9.tar.xz
openssl-acb82df4d368027e2fab7dde18f52fcefffbd0e9.zip
Provide script for filtering data initialisers for structs/unions. indent just can't handle it.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to '')
-rwxr-xr-xutil/openssl-format-source1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/openssl-format-source b/util/openssl-format-source
index 881eb0af9c..1e0185d5fb 100755
--- a/util/openssl-format-source
+++ b/util/openssl-format-source
@@ -124,6 +124,7 @@ do
| perl -np \
-e 's/(STACK_OF|LHASH_OF)_([^ \t,]+)_( |\/)/$1($2)$3/g;' \
-e 's/(STACK_OF|LHASH_OF)_([^ \t,]+)_$/$1($2)/g;' \
+ | perl util/su-filter.pl \
> "$tmp"
else
expand "$j" | indent $INDENT_ARGS > "$tmp"