This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a signed/unsigned warning
[perl5.git]
/
regcomp.pl
diff --git
a/regcomp.pl
b/regcomp.pl
index
e7a9d05
..
febd550
100644
(file)
--- a/
regcomp.pl
+++ b/
regcomp.pl
@@
-16,6
+16,8
@@
while (<DESC>) {
}
close DESC;
$tot = $ind;
+die "Too many regexp opcodes! Maximum is 256, but there are $tot in file!"
+ if $tot>256;
$tmp_h = 'tmp_reg.h';
@@
-43,6
+45,7
@@
EOP
}
print OUT <<EOP;
+#define REGNODE_MAX $oind
#ifndef DOINIT
EXTCONST U8 PL_regkind[];