/*====================================================================*
*
* unsigned char tokentype (SCAN * content);
*
* scan.h
*
* return the current token class as determined by scantoken();
*
* the return value may be ' ' for spaces, 'A' for letters and '0' for
* numbers; they indicate that scantoken() found one or more characters
* of that class on its last scan;
*
* any other value indicates that scantoken() collected one character of
* that value; for example, a return value of ';' means that scantoken()
* appended one semicolon;
*
*. 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 TOKENTYPE_SOURCE
#define TOKENTYPE_SOURCE
#include "../scan/scan.h"
unsigned tokentype (SCAN * content)
{
return (content->class);
}
#endif