summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-10 17:26:43 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-10 17:26:43 +0000
commit94dd854965f7320316afa0b2c765c34c7d877888 (patch)
tree0714e8df5fe512a1e22d6e46691ff55a00daa604 /perl.h
parent568558b743cc8ac5b79d4b2150447feb84fbe4db (diff)
downloadperl-94dd854965f7320316afa0b2c765c34c7d877888.tar.gz
Add an option for the grok_xxx() to silently ignore bad digits.
p4raw-id: //depot/perl@19184
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index fa802ac345..73a927e9e6 100644
--- a/perl.h
+++ b/perl.h
@@ -4158,6 +4158,7 @@ int flock(int fd, int op);
/* Input flags: */
#define PERL_SCAN_ALLOW_UNDERSCORES 0x01 /* grok_??? accept _ in numbers */
#define PERL_SCAN_DISALLOW_PREFIX 0x02 /* grok_??? reject 0x in hex etc */
+#define PERL_SCAN_SILENT_ILLDIGIT 0x04 /* grok_??? not warn about illegal digits */
/* Output flags: */
#define PERL_SCAN_GREATER_THAN_UV_MAX 0x02 /* should this merge with above? */