function processor( parser ) {
	var newlineLastIndex;
	var newline;

	newlineLastIndex = parser._newlineLastIndex;
	newline = parser._newline;

	return next;

	/**
	* Processes a character.
	*
	* @private
	* @param {string} ch - character
	* @returns {void}
	*/
	function next( ch ) {
		debug( 'Char: %s', ch );

		// Check for the end of the commented line...
		if (
			ch === newline[ newlineLastIndex ] &&
			parser._scan( newline, newlineLastIndex )
		) {
			// Rewind the cursor to point to the last character before the newline character sequence:
			debug( 'Newline.' );
			parser._rewind( newlineLastIndex )._changeState( INIT );
			return;
		}
		// Continue processing until we can transition to a new state:
		parser._push( ch );
	}
}
Returns a function for processing a commented line.

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