Fixed bug in opcode parser.

Invalid opcodes were compiled without raising an error.