1
0
forked from aniani/vim

patch 7.4.1231

Problem:    JSON messages are not parsed properly.
Solution:   Queue received messages.
This commit is contained in:
Bram Moolenaar
2016-02-01 21:38:19 +01:00
parent ca568aeec6
commit 19d2f15898
7 changed files with 306 additions and 185 deletions

View File

@@ -2693,5 +2693,6 @@ typedef struct
char_u *js_end; /* NUL in js_buf when js_eof is FALSE */
int js_used; /* bytes used from js_buf */
int js_eof; /* when TRUE js_buf is all there is */
FILE *js_fd; /* file descriptor to read more from */
int (*js_fill)(void *); /* function to fill the buffer */
void *js_cookie; /* passed to js_fill */
} js_read_T;