summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index e0cc7c9f9c..b09713af69 100644
--- a/bignum.c
+++ b/bignum.c
@@ -175,7 +175,11 @@ str2inum(str, base)
USHORT *zds;
while (ISSPACE(*str)) str++;
- if (*str == '-') {
+
+ if (*str == '|') {
+ str++;
+ }
+ else if (*str == '-') {
str++;
sign = 0;
}