/* File........ tokens.h * Contents.... tokens definitions for mapping */ #ifndef __TOKENS_H #define __TOKENS_H /* Mapping between integer values and tokens, to make the program * more readable. each definition can be seen as a constant. */ #define VARIABLE 1 #define DIGIT 2 #define OPERATOR 3 #define EQUALS 4 #define ASSIGN 5 #define SEPARATOR 6 #define ERROR 7 #endif