Moved Identifier struct definition to improve clarity
This commit is contained in:
parent
bf8066ea21
commit
bd80b899df
|
|
@ -21,6 +21,12 @@ typedef enum {
|
|||
TOKEN_TYPE_TUPLE,
|
||||
} TokenType;
|
||||
|
||||
typedef struct {
|
||||
const char *name;
|
||||
size_t length;
|
||||
uint8_t is_literal;
|
||||
} Identifier;
|
||||
|
||||
typedef enum {
|
||||
INTEGER_I64,
|
||||
INTEGER_I32,
|
||||
|
|
@ -32,12 +38,6 @@ typedef enum {
|
|||
INTEGER_U8,
|
||||
} IntegerBuiltInType;
|
||||
|
||||
typedef struct {
|
||||
const char *name;
|
||||
size_t length;
|
||||
uint8_t is_literal;
|
||||
} Identifier;
|
||||
|
||||
typedef struct {
|
||||
uint64_t value;
|
||||
IntegerBuiltInType type;
|
||||
|
|
|
|||
Loading…
Reference in New Issue