On Sun Oct 29 17:26:43 2023 +0000, Jacek Caban wrote:
You're missing the case where text[1] == 'X' here. More generally, I'm not convinced that storing the string inside int expressions is an improvement, it seems fragile.
I don't think 'X' can happen, we format the strings ourselves below and hex always use lower case.
Anyway, what about just getting rid of custom formats and always use decimal numbers? This is only going to end up in generated files after all, I'm not sure it's critical to have hex/NULL/TRUE/FALSE?