/*====================================================================*
 *
 *   bool isbreak (SCAN * content, const char *charset);
 *
 *   scan.h
 *
 *   return true if the current input character is a member of the 
 *   specified character set; comparison is case sensitive;
 *
 *.  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 ISBREAK_SOURCE
#define ISBREAK_SOURCE

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

bool isbreak (SCAN * content, const char *charset) 

{
	if (content->final < content->limit) while (*charset) 
	{
		if (*charset == *content->final) 
		{
			return (true);
		}
		charset++;
	}
	return (false);
}

#endif