forked from Mirror/wren
Use strtoll() for hex literals to handle 64-bit ones even on 32-bit.
This commit is contained in:
@ -130,9 +130,8 @@ class Literals is SyntaxExample {
|
||||
1.0
|
||||
-12.34
|
||||
0x1000000
|
||||
// Literals larger than 0x1000000 are only valid in 64 bit builds
|
||||
// 0xdeadbeef
|
||||
// 0x1234567890ABCDEF
|
||||
0xdeadbeef
|
||||
0x1234567890ABCDEF
|
||||
}
|
||||
|
||||
strings {
|
||||
|
||||
Reference in New Issue
Block a user