summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 00:16:35 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 00:16:35 -0500
commit85ee81b8ae972d17f0e3dc78657077924c047ada (patch)
treec786708c0e3b4d0340e712d01eb0160145e5af38 /json.c
parent9a5cad47fe6a8b84892f62e110ca887c95df5eff (diff)
added workspaceFolders support
but broke non-workspaceFolders support
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.c b/json.c
index 2dfb368..da52efa 100644
--- a/json.c
+++ b/json.c
@@ -2,7 +2,6 @@
// provides FAST(ish) parsing but SLOW lookup
// this is especially fast for small objects
// this actually supports "extended json", where objects can have arbitrary values as keys.
-
typedef struct {
u32 pos;
u32 len;
@@ -57,6 +56,7 @@ typedef struct {
JSONValue *values;
} JSON;
+
#define SKIP_WHITESPACE while (json_is_space(text[index])) ++index;
const char *json_type_to_str(JSONValueType type) {