Text this: Effects of discontinuities of the derivatives of the inflaton potential