Added function to copy tokens
This essentially just copies the internal string of the token into a new buffer.
This commit is contained in:
@@ -71,6 +71,8 @@ typedef struct
|
||||
size_t str_size;
|
||||
} token_t;
|
||||
|
||||
token_t token_copy(token_t);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
LERR_OK = 0,
|
||||
|
||||
Reference in New Issue
Block a user