Mercurial > vim
view src/proto/termlib.pro @ 21883:a427f5f26419 v8.2.1491
patch 8.2.1491: Vim9: crash when compiling heredoc lines start with comment
Commit: https://github.com/vim/vim/commit/66250c932e8a0e3c43e7c7c7b1dbede040b9c508
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 20 15:02:42 2020 +0200
patch 8.2.1491: Vim9: crash when compiling heredoc lines start with comment
Problem: Vim9: crash when compiling heredoc lines start with comment.
Solution: Skip over NULL pointers. Do not remove comment and empty lines
when fetching function lines. (closes #6743)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Aug 2020 15:15:05 +0200 |
parents | 21b0a39d13ed |
children |
line wrap: on
line source
/* termlib.c */ int tgetent(char *tbuf, char *term); int tgetflag(char *id); int tgetnum(char *id); char *tgetstr(char *id, char **buf); char *tgoto(char *cm, int col, int line); int tputs(char *cp, int affcnt, void (*outc)(unsigned int)); /* vim: set ft=c : */