Mercurial > vim
view runtime/syntax/aidl.vim @ 28355:f1a3df11d013 v8.2.4703
patch 8.2.4703: memory leak in handling 'cinscopedecls'
Commit: https://github.com/vim/vim/commit/cb49a1d934d38cbc0d445af59b71ffe45cbcae75
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 7 13:08:00 2022 +0100
patch 8.2.4703: memory leak in handling 'cinscopedecls'
Problem: Memory leak in handling 'cinscopedecls'.
Solution: Free the memory before returning.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 Apr 2022 14:15:03 +0200 |
parents | 99ef85ff1af4 |
children |
line wrap: on
line source
" Vim syntax file " Language: aidl (Android Interface Definition Language) " https://developer.android.com/guide/components/aidl " Maintainer: Dominique Pelle <dominique.pelle@tomtom.com> " LastChange: 2020/12/03 " Quit when a syntax file was already loaded. if exists("b:current_syntax") finish endif source <sfile>:p:h/java.vim syn keyword aidlParamDir in out inout syn keyword aidlKeyword const oneway parcelable " Needed for the 'in', 'out', 'inout' keywords to be highlighted. syn cluster javaTop add=aidlParamDir hi def link aidlParamDir StorageClass hi def link aidlKeyword Keyword let b:current_syntax = "aidl"