/*====================================================================*
*
* bool havematch(SCAN * content);
*
* scan.h
*
* return true if the input token character matches the first and
* advance to the next character; otherwise, return false and do
* nothing;
*
*. 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 HAVEMATCH_SOURCE
#define HAVEMATCH_SOURCE
#include "../scan/scan.h"
bool havematch (SCAN * content)
{
if (ismatch (content))
{
nextbreak (content);
return (true);
}
return (false);
}
#endif