Replaces if-then-else with if-continue in hex2bin.