#include <stdio.h>
#include "symbol.h"
#include "symbol_table.h"
+#include "type.h"
typedef enum {
#define T(x,str,val) T_##x val,
int type;
union {
symbol_t *symbol;
- int intvalue;
- double floatvalue;
+ long long intvalue;
+ long double floatvalue;
const char *string;
} v;
+ type_t *datatype;
source_position_t source_position;
} token_t;