From 8273c91f8f198f37403d26fc0374f14e99611dce Mon Sep 17 00:00:00 2001 From: rbb Date: Fri, 22 Dec 2000 14:32:37 +0000 Subject: 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 --- helpers/make_export.awk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers') 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 -- cgit v1.2.1