Fix .if directives

This commit is contained in:
ARM9 2016-02-25 12:04:38 +01:00
parent c171c4e985
commit 8035b3f00f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ syn region armComment start="//\|@" end="$" contains=armTodo
syn region armComment start="/\*" end="\*/" contains=armTodo syn region armComment start="/\*" end="\*/" contains=armTodo
" String literal " String literal
syn region armString start="\"" skip=+\\"+ end="\"\|[^\\]$" syn region armString start=/"/ skip=/\\"/ end=/"/
" Ascii character literal " Ascii character literal
syn match armString "'\\\?[\d32-~]'\?" syn match armString "'\\\?[\d32-~]'\?"

View File

@ -66,7 +66,7 @@ syn keyword gasDirective .handlerdata
syn keyword gasDirective .hidden syn keyword gasDirective .hidden
syn keyword gasDirective .hword syn keyword gasDirective .hword
syn keyword gasDirective .ident syn keyword gasDirective .ident
syn match gasDirective "\.if\%(def\|b\|c\|eq\|eqs\|ge\|gt\|le\|lt\|nb\|nc\|ndef\|notdef\|ne\|nes\)\?" syn match gasDirective "\.if\%(def\|b\|c\|eq\|eqs\|ge\|gt\|le\|lt\|nb\|nc\|ndef\|notdef\|nes\|ne\)\?"
syn keyword gasDirective .incbin syn keyword gasDirective .incbin
syn keyword gasDirective .include syn keyword gasDirective .include
syn match gasDirective "\.inst\%(\.[nw]\)\?" syn match gasDirective "\.inst\%(\.[nw]\)\?"