Add error checking to in-syntax.