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