projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
REV2: Binary number support
[p5sagit/p5-mst-13.2.git]
/
pp.c
diff --git
a/pp.c
b/pp.c
index
004ba8c
..
44114e7
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-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);