add hashmap to scope and identifier loading at runtime
This commit is contained in:
@@ -3,7 +3,15 @@
|
||||
#include "../../parser.h"
|
||||
#include "../../../lexer/token.h" // for Token
|
||||
|
||||
typedef struct {
|
||||
char * name;
|
||||
size_t line;
|
||||
size_t column;
|
||||
} ParsedIdentifier;
|
||||
|
||||
// Function declaration for parsing an identifier
|
||||
ParsedValueReturn parse_identifier(Token *token);
|
||||
|
||||
void free_identifier(void *ptr);
|
||||
|
||||
#endif // IDENTIFIER_H
|
||||
Reference in New Issue
Block a user