Move the logic for loading a json file into the load_json function

This commit is contained in:
2023-07-01 15:05:53 +01:00
parent 10597c0ed7
commit e818135aef
3 changed files with 146 additions and 121 deletions

View File

@@ -4,6 +4,8 @@
#include "json_entities.h"
#include "lexer.h"
void parse_token(token_t token);
typedef struct parser_s parser_t;
jentity_t *load_json(const char *filepath);
#endif // !PARSER_H