diff options
Diffstat (limited to 'src/util/et/et_h.pl')
-rw-r--r-- | src/util/et/et_h.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/et/et_h.pl b/src/util/et/et_h.pl index b5d1ee9..e0965de 100644 --- a/src/util/et/et_h.pl +++ b/src/util/et/et_h.pl @@ -140,6 +140,7 @@ line: while (<>) { (print $fh '#include <com_err.h>'); &Pick('>', $outfile) && (print $fh ''); + $table_item_count = 0; } if (/^[ \t]*(error_code|ec)[ \t]+[A-Z_0-9]+,/) { @@ -168,7 +169,7 @@ line: while (<>) { } } -if ($table_item_count > 255) { +if ($table_item_count > 256) { &Pick('|', 'cat 1>&2') && (print $fh 'Error table too large!'); exit 1; |