]> granicus.if.org Git - neomutt/commitdiff
Handle #ifndef in reap.pl.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 10 Jan 2000 21:34:06 +0000 (21:34 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 10 Jan 2000 21:34:06 +0000 (21:34 +0000)
reap.pl

diff --git a/reap.pl b/reap.pl
index 1140f83b4df7757b335e004a7f3e002a383e486e..1001ed98e264f4f350435d3c489090b2699ddcee 100755 (executable)
--- a/reap.pl
+++ b/reap.pl
@@ -15,7 +15,7 @@ while (<>)
 {
        if (/^#if/)
        {
-               if (/${word}/) { $illegal = 1; }
+               if (!/^\#ifn/ && /${word}/) { $illegal = 1; }
                if ($illegal) { $count++; }
        }
        elsif ($illegal && /^#endif/)