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 until we see one of them.