annotate runtime/syntax/bsdl.vim @ 27392:ec2ba9acec1b v8.2.4224

patch 8.2.4224: Vim9: no error when using a number for map() second argument Commit: https://github.com/vim/vim/commit/1080c48ec8d672d7e9fbefb5a1255c9df09a2884 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 26 18:26:21 2022 +0000 patch 8.2.4224: Vim9: no error when using a number for map() second argument Problem: Vim9: no error when using a number for map() second argument Solution: Disallow number to string conversion. (closes https://github.com/vim/vim/issues/9630)
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Jan 2022 19:30:03 +0100
parents bceeded72898
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19721
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Boundary Scan Description Language (BSDL)
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Daniel Kho <daniel.kho@logik.haus>
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Last Changed: 2020 Mar 19 by Daniel Kho
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " quit when a syntax file was already loaded
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:current_syntax")
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " Read in VHDL syntax files
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 runtime! syntax/vhdl.vim
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 unlet b:current_syntax
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 let b:current_syntax = "bsdl"
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
bceeded72898 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 " vim: ts=8