This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl.h: Fix false comment about grok_FOO flags
authorKarl Williamson <khw@cpan.org>
Mon, 20 Jan 2020 03:01:14 +0000 (20:01 -0700)
committerKarl Williamson <khw@cpan.org>
Mon, 20 Jan 2020 03:10:13 +0000 (20:10 -0700)
It is currently impossible to say that you don't want an overflow
message if those warnings are enabled.

perl.h

diff --git a/perl.h b/perl.h
index 45f47a2..57b9d2b 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -7130,7 +7130,7 @@ A synonym for L</grok_numeric_radix>
 #define PERL_SCAN_ALLOW_UNDERSCORES   0x01 /* grok_??? accept _ in numbers */
 #define PERL_SCAN_DISALLOW_PREFIX     0x02 /* grok_??? reject 0x in hex etc */
 
-/* grok_??? input: don't warn on overflowing a UV; output: found overflow */
+/* grok_??? input: ignored; output: found overflow */
 #define PERL_SCAN_GREATER_THAN_UV_MAX 0x04
 
 /* grok_??? don't warn about illegal digits.  To preserve total backcompat,