Fix .if directives
This commit is contained in:
parent
c171c4e985
commit
8035b3f00f
@ -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-~]'\?"
|
||||||
|
|
||||||
|
@ -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]\)\?"
|
||||||
|
Loading…
Reference in New Issue
Block a user