Mercurial > vim
view src/proto/if_cscope.pro @ 10559:4d8be28b5913 v8.0.0169
patch 8.0.0169: json_decode() may run out of stack space
commit https://github.com/vim/vim/commit/8b2f19536ff979046f0d241850f4176a1ce4bca9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 19:44:18 2017 +0100
patch 8.0.0169: json_decode() may run out of stack space
Problem: For complicated string json_decode() may run out of stack space.
Solution: Change the recursive solution into an iterative solution.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 19:45:03 +0100 |
parents | bd674706408a |
children | 5c8906f653f5 |
line wrap: on
line source
/* if_cscope.c */ char_u *get_cscope_name(expand_T *xp, int idx); void set_context_in_cscope_cmd(expand_T *xp, char_u *arg, cmdidx_T cmdidx); void ex_cscope(exarg_T *eap); void ex_scscope(exarg_T *eap); void ex_cstag(exarg_T *eap); int cs_fgets(char_u *buf, int size); void cs_free_tags(void); void cs_print_tags(void); int cs_connection(int num, char_u *dbpath, char_u *ppath); void cs_end(void); /* vim: set ft=c : */