Add char * which is supposed to work like in C and int

This commit is contained in:
Krzosa Karol
2022-06-12 11:58:36 +02:00
parent 4d6a8efd06
commit cd3098da45
8 changed files with 43 additions and 76 deletions

View File

@@ -64,13 +64,13 @@ struct Ast_Type;
struct Ast_Expr:Ast{ };
#define VALUE_FIELDS \
Ast_Type *type; \
Ast_Type *type; \
union{ \
bool bool_val; \
F64 f64_val; \
Intern_String intern_val; \
BigInt big_int_val;\
Ast_Type *type_val; \
Ast_Type *type_val; \
};
#define INLINE_VALUE_FIELDS union{Value value; struct{VALUE_FIELDS};}
struct Value{VALUE_FIELDS};