/* Do NOT modify this file! */
/* Better yet.  Don't even read it! */

/*
 * Include file for RL tokenization
 *
 * Copyright J. Dean Brock, 2010
 * This file released under terms of the GNU General Public License
 *
 */

#ifndef _RLTOKEN_H
#define	_RLTOKEN_H

/* For parsing the RL program */
enum TokenType { tokErr, tokEoF,        /* Stream exceptions */
                 tokEoL,                /* End of line */
                 tokEq, tokSer, tokPar, /* Operators */
                 tokVar, tokConst       /* Type of terms */
} ;


/* Convenience function for printing token types */
char * tokenToString(enum TokenType t) ;

/* Get the next token.
 * Store value (if any) in field.   */
enum TokenType getNextToken(FILE * f, char *field ) ;

#endif	/* _RLTOKEN_H */
