summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-12-01 06:32:00 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-12-01 06:32:00 +0000
commit9ce626d65d569bb8e50a4062fd5f7372501e3d13 (patch)
tree38e0ca42dda2be6f80dc813a6ae6afa527a29dfc /helpers
parent7ef3fea4a9989a2e2c58c9ec1a7a95dd81befb12 (diff)
downloadlibapr-9ce626d65d569bb8e50a4062fd5f7372501e3d13.tar.gz
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
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/make_export.pl2
1 files changed, 1 insertions, 1 deletions
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_]+)\(/) {