Fix __parse_hex()

The condition in the for() statement should be for continuation of
the loop run. The point here is that a whitespace and a semicolon
are separators, and we should continue unil when we see one of them.