Skip to content

Commit 2bee7e4

Browse files
Freed-Wuchrisbra
authored andcommitted
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>
1 parent 810785c commit 2bee7e4

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

runtime/syntax/lnkmap.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: TI Linker map
33
" Document: https://downloads.ti.com/docs/esd/SPRUI03A/Content/SPRUI03A_HTML/linker_description.html
44
" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu>
5-
" Last Change: 2024 Dec 25
5+
" Last Change: 2024 Dec 30
66

77
if exists("b:current_syntax")
88
finish
@@ -19,7 +19,7 @@ syn match lnkmapFile '[^ =]\+\%(\.\S\+\)\+\>'
1919
syn match lnkmapLibFile '[^ =]\+\.lib\>'
2020
syn match lnkmapAttrib '\<[RWIX]\+\>'
2121
syn match lnkmapAttrib '\s\zs--HOLE--\ze\%\(\s\|$\)'
22-
syn keyword lnkmapAttrib UNINITIALIZED
22+
syn keyword lnkmapAttrib UNINITIALIZED DESCT
2323

2424

2525
hi def link lnkmapTime Comment

src/testdir/test_filetype.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2782,7 +2782,7 @@ func Test_map_file()
27822782
call assert_equal('lnkmap', &filetype)
27832783
bwipe!
27842784

2785-
" TI linker map file
2785+
" UMN mapserver config file
27862786
call writefile(['MAP', 'NAME "local-demo"', 'END'], 'Xfile.map', 'D')
27872787
split Xfile.map
27882788
call assert_equal('map', &filetype)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
981,
707709
/**/
708710
980,
709711
/**/

0 commit comments

Comments
 (0)