Upper half of 8-byte le uint constants not correctly loaded from grammar

0 votes
asked Nov 3, 2017 in Grammars by charles-dyfis-net (120 points)
I'm trying to build tools for a file format with lots of 64-bit little-endian unsigned integers as constants. Even when they're correctly represented in an on-disk .grammar file, when that file is loaded, many of the constants take on the specific value "0x7FFFFFFFFFFFFFFF".

It looks like perhaps 0x8000000000000000 is the largest constant value which is correctly managed?

1 Answer

0 votes
answered Nov 14, 2017 by andreas (3,300 points)
Thank you for the feedback, I'll check this and fix it for the next release which should be released shortly