/*====================================================================*
 *
 *   void scanbreak (SCAN * content, const char *charset);
 *
 *   scan.h
 * 
 *   append the next input character to the current token if it is
 *   in charaset;
 *
 *.  Motley Tools by Charles Maier <cmaier@cmassoc.net>;
 *:  Published 2001-2006 by Charles Maier Associates Limited;
 *;  Released under the GNU General Public Licence v2 and later;
 *
 *--------------------------------------------------------------------*/

#ifndef SCANBREAK_SOURCE
#define SCANBREAK_SOURCE

#include "../scan/scan.h"

void scanbreak (SCAN * content, const char *charset) 

{
	if ((content->final < content->limit) && isbreak (content, charset)) 
	{
		content->final++;
	}
	return;
}

#endif