// File: token.h // // Basic token typedefs #ifndef _token_h #define _token_h enum symbol {UNDEF, NUMBER, PLUS, MINUS, TIMES, DIVIDE, L_PAREN, R_PAREN, EOL} ; typedef struct { enum symbol kind ; int value ; } token_t ; #endif