diff --git a/util/mkdef.pl b/util/mkdef.pl index e6064baf6..6cbdf7768 100755 --- a/util/mkdef.pl +++ b/util/mkdef.pl @@ -432,7 +432,11 @@ sub do_defs print STDERR "DEBUG: parsing ----------\n" if $debug; while() { - last if (/\/\* Error codes for the \w+ functions\. \*\//); + if (/\/\* Error codes for the \w+ functions\. \*\//) + { + undef @tag; + last; + } if ($line ne '') { $_ = $line . $_; $line = '';