Mercurial > vim
view runtime/compiler/se.vim @ 8275:ff900e499f79 v7.4.1430
commit https://github.com/vim/vim/commit/7ce686c990ea8c490d16be7f1c6bd95eb48816f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 27 16:33:22 2016 +0100
patch 7.4.1430
Problem: When encoding JSON, turning NaN and Infinity into null without
giving an error is not useful.
Solution: Pass NaN and Infinity on. If the receiver can't handle them it
will generate the error.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 Feb 2016 16:45:04 +0100 |
parents | f7add3891e95 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: se (Liberty Eiffel Compiler) " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2013 Jun 29 if exists("current_compiler") finish endif let current_compiler = "se" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo-=C CompilerSet makeprg=se\ c CompilerSet errorformat=%W******\ Warning:\ %m, \%E******\ Fatal\ Error:\ %m, \%E******\ Error:\ %m, \%ZLine\ %l\ column\ %c\ in\ %.%#\ (%f)\ %\\=:, \%ZLine\ %l\ columns\ %c\\,\ %\\d%\\+\ %.%#\ (%f)\ %\\=:, \%+C%*[^\ ]%.%#, \%-GThe\ source\ lines\ involved, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save