mirror of
https://github.com/bellard/quickjs.git
synced 2026-03-31 12:18:01 +00:00
Merge d38eea93365879b5bff8b649d8dbb4dc1b849e56 into d7ae12ae71dfd6ab2997527d295014a8996fa0f9
This commit is contained in:
commit
bd6f1d50a9
@ -12143,7 +12143,11 @@ static JSBigInt *js_bigint_from_string(JSContext *ctx,
|
||||
}
|
||||
|
||||
/* 2 <= base <= 36 */
|
||||
static char const digits[36] = "0123456789abcdefghijklmnopqrstuvwxyz";
|
||||
static char const digits[36] = {
|
||||
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b',
|
||||
'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
|
||||
'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
|
||||
};
|
||||
|
||||
/* special version going backwards */
|
||||
/* XXX: use dtoa.c */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user