summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-12-22 14:32:37 +0000
committerRyan Bloom <rbb@apache.org>2000-12-22 14:32:37 +0000
commit7b7e60b56c56e209c7eeb522aad43f4886fe0d08 (patch)
treeb0cea4d27ea74b52913ef29a1cda62c22336cdc3 /helpers
parent1359f8323346ff71d5564b00ba6fb834415ee3e3 (diff)
downloadapr-7b7e60b56c56e209c7eeb522aad43f4886fe0d08.tar.gz
We need to search for AP_DECLARE APR_DECLARE and APU_DECLARE now.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r--helpers/make_export.awk6
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