From 9ce626d65d569bb8e50a4062fd5f7372501e3d13 Mon Sep 17 00:00:00 2001 From: rbb Date: Fri, 1 Dec 2000 06:32:00 +0000 Subject: Fix a small bug in the export code. This allows us to nest multiple macros. There is a small bug in this code, because we report the wrong macro in the end tag. For example: APR_HAS_XLATE apr_xlate_conv_buffer APR_NOT_DONE_YET apr_xlate_conv_char /APR_NOT_DONE_YET /APR_NOT_DONE_YET This is minorly annoying, but not horrible. We generally use the amount of indentation and the number of macros found to match things up. Hopefully we can fix this later. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60826 13f79535-47bb-0310-9956-ffa450edef68 --- helpers/make_export.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers') diff --git a/helpers/make_export.pl b/helpers/make_export.pl index 659d549a0..fa4a05058 100755 --- a/helpers/make_export.pl +++ b/helpers/make_export.pl @@ -35,7 +35,7 @@ while ($srcfile = shift(@ARGV)) { $count++; $found++; $macro = $2; - $line = "$macro\n"; + $line .= "$macro\n"; next; } elsif (/^(APR_DECLARE[^\(]*\()?[a-z_]+\)?\s+([A-Za-z0-9_]+)\(/) { -- cgit v1.2.1