Define TokenType enum in lexer header
This commit is contained in:
parent
45b8168e24
commit
66858c5474
|
|
@ -6,5 +6,16 @@
|
||||||
#ifndef SLS_LEXER_H
|
#ifndef SLS_LEXER_H
|
||||||
#define SLS_LEXER_H
|
#define SLS_LEXER_H
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
TOKEN_EOF,
|
||||||
|
TOKEN_IDENTIFIER,
|
||||||
|
TOKEN_INTEGER,
|
||||||
|
TOKEN_FLOAT,
|
||||||
|
TOKEN_STRING,
|
||||||
|
TOKEN_BOOLEAN,
|
||||||
|
TOKEN_ARRAY,
|
||||||
|
TOKEN_TOKEN_STRING,
|
||||||
|
TOKEN_TYPE_TUPLE,
|
||||||
|
} TokenType;
|
||||||
|
|
||||||
#endif // SLS_LEXER_H
|
#endif // SLS_LEXER_H
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue