annotate runtime/syntax/bsdl.vim @ 20320:e501e32a892f
v8.2.0715
patch 8.2.0715: Vim9: leaking memory
Commit: https://github.com/vim/vim/commit/cca34aa4bef5327eb4025850045c4c980ef4354b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 7 22:23:58 2020 +0200
patch 8.2.0715: Vim9: leaking memory
Problem: Vim9: leaking memory.
Solution: Free strings after concatenating them.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Thu, 07 May 2020 22:30:04 +0200 |
parents |
bceeded72898 |
children |
|
rev |
line source |
19721
|
1 " Vim syntax file
|
|
2 " Language: Boundary Scan Description Language (BSDL)
|
|
3 " Maintainer: Daniel Kho <daniel.kho@logik.haus>
|
|
4 " Last Changed: 2020 Mar 19 by Daniel Kho
|
|
5
|
|
6 " quit when a syntax file was already loaded
|
|
7 if exists("b:current_syntax")
|
|
8 finish
|
|
9 endif
|
|
10
|
|
11 " Read in VHDL syntax files
|
|
12 runtime! syntax/vhdl.vim
|
|
13 unlet b:current_syntax
|
|
14
|
|
15 let b:current_syntax = "bsdl"
|
|
16
|
|
17 " vim: ts=8
|