/* 
 * Include file for ECE 209 Homework 7.
 * Do not modify this file.
 *
 * J Dean Brock, 2010
 *
 */

#ifndef __CHARTYPES_H_
#define __CHARTYPES_H_

/* The eight possible types returned by the character typer */
enum getRealCharTypeEnum {
    RCEOF,           /* End of file */
    RCEOL,           /* End of line */
    RCWSP,           /* White space */
    RCNUM,           /* Number */
    RCDOT,           /* Period */
    RCSGN,           /* Sign: - or + */
    RCEXP,           /* Exp: E or e */
    RCOTH            /* Anything else */
} ;

typedef enum getRealCharTypeEnum getRealCharType ;

#define RCNUMTYPES (RCOTH+1)

/* A function which returns the type of characters */
getRealCharType char2rctype(int) ;

#endif
