diff options
Diffstat (limited to 'helpers/scandoc')
-rwxr-xr-x | helpers/scandoc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/helpers/scandoc b/helpers/scandoc index 5d6804eb4..13043a306 100755 --- a/helpers/scandoc +++ b/helpers/scandoc @@ -129,6 +129,8 @@ sub rdln { if ($debug) { print STDERR "(0:$srcfile) $linenumber.\n"; } } } + # Dispose of Apache specific macros + removeApacheMacros(); } # Don't skip "#" @@ -642,7 +644,7 @@ sub parseDeclaration { # Eliminate in-line comments &removeComment; - + # Check for multi-line declaration while ((($valid, $d) = &matchDecl) && $valid) { $decl .= $d; } @@ -1078,6 +1080,11 @@ sub seealsoList { return @r; } +sub removeApacheMacros { +# print "removing from $_"; + s|AP_DECLARE\((.*?)\)|$1|; +} + # Class for parsed package package PackageRecord; |