diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-22 14:32:37 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-22 14:32:37 +0000 |
commit | 8273c91f8f198f37403d26fc0374f14e99611dce (patch) | |
tree | b0cea4d27ea74b52913ef29a1cda62c22336cdc3 /helpers | |
parent | 1958ad8e0d59c6cb1c41f190b773551bd823cef6 (diff) | |
download | libapr-8273c91f8f198f37403d26fc0374f14e99611dce.tar.gz |
We need to search for AP_DECLARE APR_DECLARE and APU_DECLARE now.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/make_export.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/make_export.awk b/helpers/make_export.awk index e2ec040fc..c2b232154 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)? (AP[RU]?_|!?defined).*/ { if (old_filename != FILENAME) { if (old_filename != "") printf("%s", line) macro_no = 0 @@ -32,14 +32,14 @@ next } -/^[ \t]*(APR?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?([A-Za-z0-9_]+)\(/ { +/^[ \t]*(AP[RU]?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?([A-Za-z0-9_]+)\(/ { if (found) { found++ } for (i = 0; i < count; i++) { line = line "\t" } - sub("^[ \t]*(APR?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?", ""); + sub("^[ \t]*(AP[UR]?_DECLARE[^(]*[(])?(const[ \t])?[a-z_]+[ \t\*]*[)]?[ \t]+[*]?", ""); sub("[(].*", ""); line = line $0 "\n" next |