diff options
author | Wilson P. Snyder II <unknown@perl.org> | 1998-11-30 00:00:00 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1998-12-31 11:18:17 +0000 |
commit | 4f19785bce4da39a768aa6210f1f97ab4c0600dd (patch) | |
tree | d61c839a9780269b7b0766bad2487e8053caa5fd /pp.c | |
parent | 142393a6492fce5c4bb6f282b1ba1d8da7c0064b (diff) | |
download | perl-4f19785bce4da39a768aa6210f1f97ab4c0600dd.tar.gz |
REV2: Binary number support
To: perl5-porters@perl.org
Message-ID: <199811301543.KAA15689@vulcan.maker.com>
p4raw-id: //depot/cfgperl@2546
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1822,6 +1822,8 @@ PP(pp_oct) tmps++; if (*tmps == 'x') value = scan_hex(++tmps, 99, &argtype); + else if (*tmps == 'b') + value = scan_bin(++tmps, 99, &argtype); else value = scan_oct(tmps, 99, &argtype); XPUSHu(value); |