]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
fix to allow comments in globals.h file
authorwessels <>
Fri, 31 Oct 1997 05:45:52 +0000 (05:45 +0000)
committerwessels <>
Fri, 31 Oct 1997 05:45:52 +0000 (05:45 +0000)
src/mk-globals-c.pl

index bb08dddb8c30fcedffff1a00f77882c5895f2a79..e2939bc8d26ec7eecffe2949aea5c7efb0d7b42c 100755 (executable)
@@ -5,6 +5,10 @@ while (<>) {
                print;
                next;
        }
+       if (/^.\*/) {
+               print;
+               next;
+       }
        next unless (/./);
        next if (/\[\];$/);
        die unless (/^extern\s+([^;]+);(.*)$/);