summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-07-03 01:19:08 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 22:53:29 +0000
commit51bd16da02fd2d9228605a3672c5bc91eaddf57b (patch)
tree77a785e2f9d2f88d9772efa9da224b4b21ce767d /numeric.c
parent14a55f983d12fddd5eed5f0d91429d3f5b58961f (diff)
downloadperl-51bd16da02fd2d9228605a3672c5bc91eaddf57b.tar.gz
grok not grocking correctly
Message-ID: <20010703001908.H59620@plum.flirble.org> p4raw-id: //depot/perl@11112
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 1aadce5155..00d58bc4d6 100644
--- a/numeric.c
+++ b/numeric.c
@@ -448,7 +448,7 @@ Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep)
break;
}
if (digit >= 0 && digit <= 9
- && !(s < send)) {
+ && (s < send)) {
/* value overflowed.
skip the remaining digits, don't
worry about setting *valuep. */