Mercurial > vim
view runtime/indent/wast.vim @ 15109:b91cd042c2fc v8.1.0565
patch 8.1.0565: asan complains about reading before allocated block
commit https://github.com/vim/vim/commit/10600db772a6b50093b8027509d7089c209d1e26
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 5 19:46:07 2018 +0100
patch 8.1.0565: asan complains about reading before allocated block
Problem: Asan complains about reading before allocated block.
Solution: Workaround: Avoid offset from becoming negative.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Dec 2018 20:00:07 +0100 |
parents | 172f18a3a6cd |
children |
line wrap: on
line source
" Vim indent file " Language: WebAssembly " Maintainer: rhysd <lin90162@yahoo.co.jp> " Last Change: Jul 29, 2018 " For bugs, patches and license go to https://github.com/rhysd/vim-wasm if exists("b:did_indent") finish endif let b:did_indent = 1 " WebAssembly text format is S-expression. We can reuse LISP indentation " logic. setlocal indentexpr=lispindent('.') setlocal noautoindent nosmartindent let b:undo_indent = "setl lisp< indentexpr<"