From f908dab784be0fef2159f3106f9a3510c912f0fe Mon Sep 17 00:00:00 2001 From: Theodore Dubois Date: Thu, 3 May 2018 16:37:27 -0700 Subject: [PATCH] Add .endr and .endmacro directives .endr is used to end an .irp, and .endmacro is a longer form of .endm. --- syntax/gas.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/gas.vim b/syntax/gas.vim index b6bf291..d8072d1 100644 --- a/syntax/gas.vim +++ b/syntax/gas.vim @@ -26,7 +26,7 @@ syn keyword gasDirective .cfi_adjust_cfa_offset .cfi_offset .cfi_rel_offset .cfi syn keyword gasDirective .cfi_restore .cfi_undefined .cfi_same_value .cfi_remember_state syn keyword gasDirective .cfi_return_column .cfi_signal_frame .cfi_window_save .cfi_escape syn keyword gasDirective .cfi_val_encoded_addr .data .def .desc .dim .eject -syn keyword gasDirective .else .elseif .endef .endif .equ .equiv .eqv .err +syn keyword gasDirective .else .elseif .endef .endif .endr .equ .equiv .eqv .err syn keyword gasDirective .error .exitm .extern .fail .file .fill .global .globl syn keyword gasDirective .gnu_attribute .hidden .ident .if .incbin .include .internal syn keyword gasDirective .irp .irpc .lcomm .lflags .line .linkonce .list .ln .loc .loc_mark_labels @@ -41,7 +41,7 @@ syn keyword gasDirective .vtable_entry .vtable_inherit .warning .weak .weakref syn keyword gasDirectiveStore .byte .hword .word .int .long .double .short .float syn keyword gasDirectiveStore .string .string8 .string16 .ascii .asciz .comm -syn keyword gasDirectiveMacro .altmacro .macro .noaltmacro .endm .func .endfunc +syn keyword gasDirectiveMacro .altmacro .macro .noaltmacro .endm .endmacro .func .endfunc " i*86 directives syn keyword gasDirectiveX86 .att_syntax .intel_syntax .att_mnemonic .intel_mnemonic .code16 .code32 .code64 .lcomm