/*====================================================================*
 *
 *   void scanbreakmatch (SCAN * content);
 *
 *   scan.h
 * 
 *   append the next input character to the current token if it is
 *   the same as the first token character;
 *
 *.  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 SCANBREAKMATCH_SOURCE
#define SCANBREAKMATCH_SOURCE

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

void scanbreakmatch (SCAN * content) 

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

#endif