parser: remove unreachable code