/*====================================================================*
*
* void scanuntil (SCAN * content);
*
* scan.h
*
* append input buffer characters to the current token substring while
* they are not member of the specified character set; stop on the first
* one that is a member; it marks the start of another scan;
*
*. 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 SCANUNTILMATCH_SOURCE
#define SCANUNTILMATCH_SOURCE
#include "../scan/scan.h"
void scanuntilmatch (SCAN * content)
{
while ((content->final < content->limit) && (*content->final != *content->first))
{
content->final++;
}
return;
}
#endif