summaryrefslogtreecommitdiff
path: root/runtime/syntax/masm.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-10 17:24:16 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-10 17:24:16 +0000
commitff1d0d4cf5b9ec789cb0223154d7b76510d32d7b (patch)
tree80a15de6533fb6d15dd38dcde4daf601615ee414 /runtime/syntax/masm.vim
parent4868726a3f8ad92f5e2025315072edddad9ab506 (diff)
downloadvim-git-ff1d0d4cf5b9ec789cb0223154d7b76510d32d7b.tar.gz
updated for version 7.1b
Diffstat (limited to 'runtime/syntax/masm.vim')
-rw-r--r--runtime/syntax/masm.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/masm.vim b/runtime/syntax/masm.vim
index d7c1e7ea1..efd5fe0bd 100644
--- a/runtime/syntax/masm.vim
+++ b/runtime/syntax/masm.vim
@@ -33,13 +33,15 @@ syn region masmString start=+"+ end=+"+ oneline contains=@Spell
syn region masmTitleArea start=+\<TITLE\s+lc=5 start=+\<SUBTITLE\s+lc=8 start=+\<SUBTTL\s+lc=6 end=+$+ end=+;+me=e-1 contains=masmTitle
syn region masmTextArea start=+\<NAME\s+lc=4 start=+\<INCLUDE\s+lc=7 start=+\<INCLUDELIB\s+lc=10 end=+$+ end=+;+me=e-1 contains=masmText
-syn match masmTitle "[^\t ;]\([^;]*[^\t ;]\)\?" contained
+syn match masmTitle "[^\t ;]\([^;]*[^\t ;]\)\?" contained contains=@Spell
syn match masmText "[^\t ;]\([^;]*[^\t ;]\)\?" contained
syn region masmOptionOpt start=+\<OPTION\s+lc=6 end=+$+ end=+;+me=e-1 contains=masmOption
+syn region masmContextOpt start=+\<PUSHCONTEXT\s+lc=11 start=+\<POPCONTEXT\s+lc=10 end=+$+ end=+;+me=e-1 contains=masmOption
syn region masmModelOpt start=+\.MODEL\s+lc=6 end=+$+ end=+;+me=e-1 contains=masmOption,masmType
syn region masmSegmentOpt start=+\<SEGMENT\s+lc=7 end=+$+ end=+;+me=e-1 contains=masmOption,masmString
syn region masmProcOpt start=+\<PROC\s+lc=4 end=+$+ end=+;+me=e-1 contains=masmOption,masmType,masmRegister,masmIdentifier
+syn region masmAssumeOpt start=+\<ASSUME\s+lc=6 end=+$+ end=+;+me=e-1 contains=masmOption,masmOperator,masmType,masmRegister,masmIdentifier
syn region masmExpression start=+\.IF\s+lc=3 start=+\.WHILE\s+lc=6 start=+\.UNTIL\s+lc=6 start=+\<IF\s+lc=2 start=+\<IF2\s+lc=3 start=+\<ELSEIF\s+lc=6 start=+\<ELSEIF2\s+lc=7 start=+\<REPEAT\s+lc=6 start=+\<WHILE\s+lc=5 end=+$+ end=+;+me=e-1 contains=masmType,masmOperator,masmRegister,masmIdentifier,masmDecimal,masmBinary,masmHexadecimal,masmFloatRaw,masmString
syn keyword masmOption TINY SMALL COMPACT MEDIUM LARGE HUGE contained
@@ -58,6 +60,9 @@ syn keyword masmOption OLDMACROS NOOLDMACROS OLDSTRUCTS contained
syn keyword masmOption NOOLDSTRUCTS PROC PROLOGUE READONLY contained
syn keyword masmOption NOREADONLY SCOPED NOSCOPED SEGMENT contained
syn keyword masmOption SETIF2 contained
+syn keyword masmOption ABS ALL ASSUMES CPU ERROR EXPORT contained
+syn keyword masmOption FORCEFRAME LISTING LOADDS NONE contained
+syn keyword masmOption NONUNIQUE NOTHING OS_DOS RADIX REQ contained
syn keyword masmType STDCALL SYSCALL C BASIC FORTRAN PASCAL
syn keyword masmType PTR NEAR FAR NEAR16 FAR16 NEAR32 FAR32
syn keyword masmType REAL4 REAL8 REAL10 BYTE SBYTE TBYTE