diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-04-10 17:26:43 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-04-10 17:26:43 +0000 |
commit | 94dd854965f7320316afa0b2c765c34c7d877888 (patch) | |
tree | 0714e8df5fe512a1e22d6e46691ff55a00daa604 /perl.h | |
parent | 568558b743cc8ac5b79d4b2150447feb84fbe4db (diff) | |
download | perl-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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? */ |