Mercurial > vim
view runtime/syntax/rng.vim @ 33070:8362975375a4 v9.0.1822
patch 9.0.1822: Vim9: no check for duplicate members in extended classes
Commit: https://github.com/vim/vim/commit/e3b6c78ddc4acf238af35d7fac585e7ead27392f
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Tue Aug 29 22:32:02 2023 +0200
patch 9.0.1822: Vim9: no check for duplicate members in extended classes
Problem: Vim9: no check for duplicate members in extended classes
Solution: Check for duplicate members in extended classes.
Fix memory leak.
closes: #12948
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Aug 2023 22:45:03 +0200 |
parents | 2d1383658bb4 |
children |
line wrap: on
line source
" Vim syntax file " Language: RELAX NG " Maintainer: Jaromir Hradilek <jhradilek@gmail.com> " URL: https://github.com/jhradilek/vim-rng " Last Change: 25 March 2013 " Description: A syntax file for RELAX NG, a schema language for XML if exists('b:current_syntax') finish endif do Syntax xml syn spell toplevel syn cluster xmlTagHook add=rngTagName syn case match syn keyword rngTagName anyName attribute choice data define div contained syn keyword rngTagName element empty except externalRef grammar contained syn keyword rngTagName group include interleave list mixed name contained syn keyword rngTagName notAllowed nsName oneOrMore optional param contained syn keyword rngTagName parentRef ref start text value zeroOrMore contained hi def link rngTagName Statement let b:current_syntax = 'rng'