Make parsing of hexadecimal values actually work. (It was never tested before, and was broken.)
Authored by: gavare 2019-06-06
Parent: [r49]
Child: [r51]