diff options
author | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-20 14:28:45 +0000 |
---|---|---|
committer | bjh <bjh@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-20 14:28:45 +0000 |
commit | bd6b25fd25142df2575c8af582e58ad47eb78420 (patch) | |
tree | 37d44bf78bd1c68ea55a3b79d4798250463510b3 /helpers | |
parent | 72c2efe4ee5c5ae53b7011c0cbe250d324c36581 (diff) | |
download | libapr-bd6b25fd25142df2575c8af582e58ad47eb78420.tar.gz |
When building exports list, allow for multi-part and negative conditions
in #if tests.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/make_export.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/make_export.awk b/helpers/make_export.awk index 5cffd1979..e2ec040fc 100644 --- a/helpers/make_export.awk +++ b/helpers/make_export.awk @@ -1,6 +1,6 @@ # Based on Ryan Bloom's make_export.pl -/^#[ \t]*if(def)? (APR?_|defined).*/ { +/^#[ \t]*if(def)? (APR?_|!?defined).*/ { if (old_filename != FILENAME) { if (old_filename != "") printf("%s", line) macro_no = 0 @@ -10,7 +10,7 @@ line = "" } macro_stack[macro_no++] = macro - macro = $2 + macro = substr($0, length($1)+2) found++ count++ line = line macro "\n" |