Add c types, int is default type
This commit is contained in:
@@ -184,16 +184,27 @@ struct Token {
|
||||
|
||||
enum Ast_Type_Kind {
|
||||
TYPE_NONE,
|
||||
TYPE_S64, // FIRST_NUMERIC
|
||||
TYPE_S64, // FIRST_NUMERIC is_int start
|
||||
TYPE_S32,
|
||||
TYPE_S16,
|
||||
TYPE_S8,
|
||||
|
||||
TYPE_INT,
|
||||
TYPE_UINT,
|
||||
TYPE_LONG,
|
||||
TYPE_ULONG,
|
||||
TYPE_LLONG,
|
||||
TYPE_ULLONG,
|
||||
TYPE_SHORT,
|
||||
TYPE_USHORT,
|
||||
TYPE_CHAR,
|
||||
TYPE_UCHAR,
|
||||
|
||||
TYPE_U64,
|
||||
TYPE_U32,
|
||||
TYPE_U16,
|
||||
TYPE_U8,
|
||||
TYPE_U8, //is_int end
|
||||
|
||||
TYPE_F32,
|
||||
TYPE_F64,
|
||||
TYPE_POINTER,
|
||||
|
||||
Reference in New Issue
Block a user