/*====================================================================*
 *
 *   bool havebreak(SCAN * content, const char *charset);
 *
 *   scan.h
 *
 *   advance to the next input buffer character only if the current
 *   current input buffer character is in charset; this function is
 *   useful for detecting optional delimiters;
 *
 *   For example:
 *
 *   scanalpha (&content);
 *   if (havebreak (&content, "="))
 *   {
 *      scandigit (&content);
 *   }
 *
 *.  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 HAVEBREAK_SOURCE
#define HAVEBREAK_SOURCE

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

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

{
	if (isbreak (content, charset)) 
	{
		nextbreak (content);
		return (true);
	}
	return (false);
}

#endif