/*====================================================================*
 *
 *   void scanwhilematch (SCAN * content);
 *
 *   scan.h
 *
 *   append input buffer characters to the current token substring while
 *   they are members of the specified character set; stop on the first
 *   one that is not 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 SCANWHILEMATCH_SOURCE
#define SCANWHILEMATCH_SOURCE

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

void scanwhilematch (SCAN * content) 

{
	while ((content->final < content->limit) && (*content->final == *content->first)) 
	{
		content->final++;
	}
	return;
}

#endif