Generates single error for unterminated defs