Commit f992ce3d authored by Thomas Roessler's avatar Thomas Roessler

Handle #ifndef in reap.pl.

parent fb022e19
......@@ -15,7 +15,7 @@ while (<>)
{
if (/^#if/)
{
if (/${word}/) { $illegal = 1; }
if (!/^\#ifn/ && /${word}/) { $illegal = 1; }
if ($illegal) { $count++; }
}
elsif ($illegal && /^#endif/)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment