/*====================================================================*
*
* bool havetoken(SCAN * content, const char *literal);
*
* scan.h
*
*
*. 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 HAVETOKEN_SOURCE
#define HAVETOKEN_SOURCE
#include "../scan/scan.h"
bool havetoken (SCAN * content, const char *literal)
{
if (istoken (content, literal))
{
nexttoken (content);
return (true);
}
return (false);
}
#endif