/*====================================================================*
*
* void scanwhile (SCAN * content, const char *charset);
*
* scan.h
*
* append input characters to the current token while they are
* members of the specified character set; stop on the first one
* that is not a member;
*
*. 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 SCANWHILE_SOURCE
#define SCANWHILE_SOURCE
#include "../scan/scan.h"
void scanwhile (SCAN * content, const char *charset)
{
while ((content->final < content->limit) && isbreak (content, charset))
{
content->final++;
}
return;
}
#endif