|
|
@ -6,8 +6,7 @@
|
|
|
|
#include "../hashmap/map.h"
|
|
|
|
#include "../hashmap/map.h"
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* VariableType is a enum of type struct that holds the varible types that will
|
|
|
|
* VariableType is a enum of varible types that will be inside of my language.
|
|
|
|
* be inside of my language.
|
|
|
|
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
typedef enum variable_type {
|
|
|
|
typedef enum variable_type {
|
|
|
|
|
|
|
|
|
|
|
@ -29,7 +28,7 @@ typedef struct variable_values {
|
|
|
|
char *_string;
|
|
|
|
char *_string;
|
|
|
|
int _int;
|
|
|
|
int _int;
|
|
|
|
double _double;
|
|
|
|
double _double;
|
|
|
|
void* _void_pointer;
|
|
|
|
void* _void_pointer; //TODO create a concept of "void"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} variable_values;
|
|
|
|
} variable_values;
|
|
|
|