forked from aniani/vim
patch 9.1.0981: tests: typo in test_filetype.vim
Problem: tests: typo in test_filetype.vim Solution: fix comment, update lnkmap syntax file and add DESCT keyword (Wu, Zhenyu) closes: #16348 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
810785c689
commit
2bee7e43e1
@@ -2,7 +2,7 @@
|
|||||||
" Language: TI Linker map
|
" Language: TI Linker map
|
||||||
" Document: https://downloads.ti.com/docs/esd/SPRUI03A/Content/SPRUI03A_HTML/linker_description.html
|
" Document: https://downloads.ti.com/docs/esd/SPRUI03A/Content/SPRUI03A_HTML/linker_description.html
|
||||||
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
|
||||||
" Last Change: 2024 Dec 25
|
" Last Change: 2024 Dec 30
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
@@ -19,7 +19,7 @@ syn match lnkmapFile '[^ =]\+\%(\.\S\+\)\+\>'
|
|||||||
syn match lnkmapLibFile '[^ =]\+\.lib\>'
|
syn match lnkmapLibFile '[^ =]\+\.lib\>'
|
||||||
syn match lnkmapAttrib '\<[RWIX]\+\>'
|
syn match lnkmapAttrib '\<[RWIX]\+\>'
|
||||||
syn match lnkmapAttrib '\s\zs--HOLE--\ze\%\(\s\|$\)'
|
syn match lnkmapAttrib '\s\zs--HOLE--\ze\%\(\s\|$\)'
|
||||||
syn keyword lnkmapAttrib UNINITIALIZED
|
syn keyword lnkmapAttrib UNINITIALIZED DESCT
|
||||||
|
|
||||||
|
|
||||||
hi def link lnkmapTime Comment
|
hi def link lnkmapTime Comment
|
||||||
|
@@ -2782,7 +2782,7 @@ func Test_map_file()
|
|||||||
call assert_equal('lnkmap', &filetype)
|
call assert_equal('lnkmap', &filetype)
|
||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
" TI linker map file
|
" UMN mapserver config file
|
||||||
call writefile(['MAP', 'NAME "local-demo"', 'END'], 'Xfile.map', 'D')
|
call writefile(['MAP', 'NAME "local-demo"', 'END'], 'Xfile.map', 'D')
|
||||||
split Xfile.map
|
split Xfile.map
|
||||||
call assert_equal('map', &filetype)
|
call assert_equal('map', &filetype)
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
981,
|
||||||
/**/
|
/**/
|
||||||
980,
|
980,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user