annotate runtime/compiler/standard.vim @ 20972:d561e3c6cd65
v8.2.1037
patch 8.2.1037: Vim9: crash when using line continuation inside :def
Commit: https://github.com/vim/vim/commit/acd4c5e914f8a06745624ba585f3d06d5faf4ddd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 22 19:39:03 2020 +0200
patch 8.2.1037: Vim9: crash when using line continuation inside :def
Problem: Vim9: crash when using line continuation inside :def.
Solution: Check for no more lines available.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 22 Jun 2020 19:45:03 +0200 |
parents |
74e3316c1d5a |
children |
bbca88cd13d5 |
rev |
line source |
20552
|
1 " Vim compiler file
|
|
2 " Compiler: Standard for JavaScript
|
|
3 " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
|
4 " Last Change: 2020 May 17
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "standard"
|
|
10
|
|
11 if exists(":CompilerSet") != 2
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 CompilerSet makeprg=standard
|
|
16 CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m,%-G%.%#
|