summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-12-01 06:32:00 +0000
committerRyan Bloom <rbb@apache.org>2000-12-01 06:32:00 +0000
commit223a7fc12cb12cf1aeceff8d80c0cc97753434d8 (patch)
tree38e0ca42dda2be6f80dc813a6ae6afa527a29dfc /helpers
parentf011418090e9ecc6b989ffaa5bddfda7a5c058d3 (diff)
downloadapr-223a7fc12cb12cf1aeceff8d80c0cc97753434d8.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: https://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_]+)\(/) {