diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 13:20:16 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 13:20:16 -0500 |
commit | 1dc24e79ec7cf80e06b9c4e7cc55e18857b624c1 (patch) | |
tree | 9537660776906e08d5b4f511926bf4a1c8f4c644 /lsp-parse.c | |
parent | 9844c679b4a4fb42c97f80e5653dea7c73ff0edf (diff) |
restructure LSP stuff
Diffstat (limited to 'lsp-parse.c')
-rw-r--r-- | lsp-parse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lsp-parse.c b/lsp-parse.c index 5a1da29..17650c3 100644 --- a/lsp-parse.c +++ b/lsp-parse.c @@ -1,3 +1,6 @@ +#define LSP_INTERNAL 1 +#include "lsp.h" + static WarnUnusedResult bool lsp_expect_type(LSP *lsp, JSONValue value, JSONValueType type, const char *what) { if (value.type != type) { lsp_set_error(lsp, "Expected %s for %s, got %s", @@ -827,7 +830,7 @@ static bool parse_references(LSP *lsp, const JSON *json, LSPResponse *response) return true; } -static void process_message(LSP *lsp, JSON *json) { +void process_message(LSP *lsp, JSON *json) { #if 0 printf("\x1b[3m"); |