Add the get_next_token function
This commit is contained in:
@@ -15,8 +15,6 @@ typedef enum {
|
||||
TK_R_BRACE,
|
||||
TK_L_BRACKET,
|
||||
TK_R_BRACKET,
|
||||
TK_COLON,
|
||||
TK_COMMA,
|
||||
TK_NULL,
|
||||
TK_TRUE,
|
||||
TK_FALSE,
|
||||
@@ -47,5 +45,6 @@ void lexer_free(lexer_t **lexer);
|
||||
token_t get_next_token(lexer_t *lexer, const char *text);
|
||||
|
||||
bool validate_json(char *json);
|
||||
void print_token(token_t token);
|
||||
|
||||
#endif // !LEXER_STATES_H
|
||||
|
Reference in New Issue
Block a user