function processor( parser ) {
	return next;

	/**
	* Processes a character.
	*
	* @private
	* @param {string} ch - character
	* @returns {void}
	*/
	function next() {
		parser._changeState( ERROR );
	}
}
Returns a function for a parser error state.

@private
@param {Parser} parser - parser instance
@returns {Function} processing function