Do TARGET_OFFSET parsing with if/elsif blocks