@@ -8313,7 +8313,11 @@ EXTERN_C int flock(int fd, int op);
83138313
83148314/* Number scan flags. All are used for input, the ones used for output are so
83158315 * marked */
8316- #define PERL_SCAN_ALLOW_UNDERSCORES 0x01 /* grok_??? accept _ in numbers */
8316+
8317+ /* grok_??? accept a stand-alone underscore initially or between digits in
8318+ * numbers */
8319+ #define PERL_SCAN_ALLOW_UNDERSCORES 0x01
8320+
83178321#define PERL_SCAN_DISALLOW_PREFIX 0x02 /* grok_??? reject 0x in hex etc */
83188322
83198323/* grok_??? input: ignored; output: found overflow */
@@ -8324,21 +8328,21 @@ EXTERN_C int flock(int fd, int op);
83248328 * PERL_SCAN_NOTIFY_ILLDIGIT. */
83258329#define PERL_SCAN_SILENT_ILLDIGIT 0x08
83268330
8327- # define PERL_SCAN_TRAILING 0x10 /* grok_number_flags() allow trailing
8328- and set IS_NUMBER_TRAILING */
8331+ /* grok_number_flags() allow trailing and set IS_NUMBER_TRAILING */
8332+ # define PERL_SCAN_TRAILING 0x10
83298333
83308334/* These are considered experimental, so not exposed publicly */
83318335#if defined(PERL_CORE) || defined(PERL_EXT)
83328336/* grok_??? don't warn about very large numbers which are <= UV_MAX;
83338337 * output: found such a number */
8334- # define PERL_SCAN_SILENT_NON_PORTABLE 0x20
8338+ # define PERL_SCAN_SILENT_NON_PORTABLE 0x20
83358339
83368340/* If this is set on input, and no illegal digit is found, it will be cleared
83378341 * on output; otherwise unchanged */
8338- # define PERL_SCAN_NOTIFY_ILLDIGIT 0x40
8342+ # define PERL_SCAN_NOTIFY_ILLDIGIT 0x40
83398343
83408344/* Don't warn on overflow; output flag still set */
8341- # define PERL_SCAN_SILENT_OVERFLOW 0x80
8345+ # define PERL_SCAN_SILENT_OVERFLOW 0x80
83428346
83438347/* Forbid a leading underscore, which the other one doesn't */
83448348# define PERL_SCAN_ALLOW_MEDIAL_UNDERSCORES (0x100 |PERL_SCAN_ALLOW_UNDERSCORES)
0 commit comments