update lexer to just return the number and then do the other logic somewhere else
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
#include "../../lexer/token.h"
|
||||
#include "../taggedValue.h"
|
||||
#ifndef STRING_UTILS_H
|
||||
#define STRING_UTILS_H
|
||||
|
||||
char *swap_quotes(char *input);
|
||||
#include "../../lexer/token.h"
|
||||
#include "../parser.h"
|
||||
|
||||
// Declare functions related to string processing in parser
|
||||
|
||||
char *swap_quotes(char *input, char quote);
|
||||
|
||||
char *unquote(char *str);
|
||||
|
||||
TaggedValue parse_string(Token token);
|
||||
TaggedValue *parse_string(Token token);
|
||||
|
||||
#endif // STRING_UTILS_H
|
||||
Reference in New Issue
Block a user