From c171c4e985b5e8bc6a630e0bdebff3281e2b104d Mon Sep 17 00:00:00 2001 From: ARM9 Date: Thu, 25 Feb 2016 12:04:38 +0100 Subject: [PATCH] Fix .if directives --- syntax/include/gas_directives.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/include/gas_directives.vim b/syntax/include/gas_directives.vim index 74e8b63..807b846 100644 --- a/syntax/include/gas_directives.vim +++ b/syntax/include/gas_directives.vim @@ -66,7 +66,7 @@ syn keyword gasDirective .handlerdata syn keyword gasDirective .hidden syn keyword gasDirective .hword 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\|ne\|nes\)\?" syn keyword gasDirective .incbin syn keyword gasDirective .include syn match gasDirective "\.inst\%(\.[nw]\)\?"