Get rid of unused DUP instruction.
Better handling for lexing errors.