Stop perl warning.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 19 Apr 2005 18:57:17 +0000 (18:57 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 19 Apr 2005 18:57:17 +0000 (18:57 +0000)
util/mkdef.pl

index e6064ba..6cbdf77 100755 (executable)
@@ -432,7 +432,11 @@ sub do_defs
 
                print STDERR "DEBUG: parsing ----------\n" if $debug;
                while(<IN>) {
-                       last if (/\/\* Error codes for the \w+ functions\. \*\//);
+                       if (/\/\* Error codes for the \w+ functions\. \*\//)
+                               {
+                               undef @tag;
+                               last;
+                               }
                        if ($line ne '') {
                                $_ = $line . $_;
                                $line = '';