Skip to content

Commit 6507c0f

Browse files
committed
grok_number: Clarify comment: this is a decimal number
1 parent a82deb7 commit 6507c0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numeric.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,8 @@ Perl_grok_infnan(pTHX_ const char** sp, const char* send)
998998
=for apidoc grok_number
999999
=for apidoc_item grok_number_flags
10001000
1001-
Look for a number in the C<len> bytes starting at C<pv>. If one isn't found,
1002-
return 0; otherwise return its type (and optionally its value). In
1001+
Look for a base 10 number in the C<len> bytes starting at C<pv>. If one isn't
1002+
found, return 0; otherwise return its type (and optionally its value). In
10031003
C<grok_number> all C<len> bytes must be either leading C<L</isSPACE>>
10041004
characters or part of the number. The same is true in C<grok_number_flags>
10051005
unless C<flags> contains the C<PERL_SCAN_TRAILING> bit, which allows for

0 commit comments

Comments
 (0)