summaryrefslogtreecommitdiffstats
path: root/util/openssl-format-source
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-20 12:37:42 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:24:59 +0000
commit4a81e0f0d6bfe9d67ccd456ce030e9e13ca5dd24 (patch)
tree639ddbe9ca56c425844ae9cc165f0b53a23ba899 /util/openssl-format-source
parent24e6a032bf6faeb8686a9d7b6eb6bf2d68e20a05 (diff)
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 'util/openssl-format-source')
-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"