add numbers to parser

This commit is contained in:
2025-06-03 02:52:15 +01:00
parent e4c2af3cc7
commit ef61c391a1
7 changed files with 64 additions and 7 deletions

View File

@@ -10,7 +10,8 @@ typedef struct LinkedList LinkedList;
typedef enum {
AST_STRING,
AST_ASSIGN,
AST_IDENTIFIER
AST_IDENTIFIER,
AST_NUMBER,
} ValueType;
extern const char* ValueTypeNames[];