diff --git a/SLS_C/include/sls/lexer.h b/SLS_C/include/sls/lexer.h index 5d72eab..e24080b 100644 --- a/SLS_C/include/sls/lexer.h +++ b/SLS_C/include/sls/lexer.h @@ -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;