diff options
Diffstat (limited to 'runtime/syntax/ld.vim')
-rw-r--r-- | runtime/syntax/ld.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/ld.vim b/runtime/syntax/ld.vim index 6a117ee87b..7ac050131b 100644 --- a/runtime/syntax/ld.vim +++ b/runtime/syntax/ld.vim @@ -2,6 +2,7 @@ " Language: ld(1) script " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 +" Last Change: 2023 Apr 19 if exists("b:current_syntax") finish @@ -43,7 +44,7 @@ syn match ldSpecial '/DISCARD/' syn keyword ldIdentifier ORIGIN LENGTH syn match ldSpecSections '\.' -syn match ldSections '\.\S\+' +syn match ldSections '\.[^ \t)]\+' syn match ldSpecSections '\.\%(text\|data\|bss\|symver\)\>' syn match ldNumber display '\<0[xX]\x\+\>' |