testing hilink recursion
This commit is contained in:
parent
f7e674e06c
commit
a22692f80d
@ -10,8 +10,6 @@ endif
|
||||
|
||||
syn case ignore
|
||||
|
||||
so <sfile>:p:h/include/arm_base_syntax.vim
|
||||
|
||||
if version >= 508 || !exists("did_armv4_syntax_inits")
|
||||
if version < 508
|
||||
let did_armv4_syntax_inits = 1
|
||||
@ -19,6 +17,9 @@ if version >= 508 || !exists("did_armv4_syntax_inits")
|
||||
else
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
|
||||
so <sfile>:p:h/include/arm_base_syntax.vim
|
||||
|
||||
HiLink armv4Instr armInstructions
|
||||
HiLink armv4InstrCond armInstructions
|
||||
HiLink armv4InstrNoCond armInstructions
|
||||
|
@ -10,8 +10,6 @@ endif
|
||||
|
||||
syn case ignore
|
||||
|
||||
so <sfile>:p:h/include/arm_base_syntax.vim
|
||||
|
||||
if version >= 508 || !exists("did_armv5_syntax_inits")
|
||||
if version < 508
|
||||
let did_armv5_syntax_inits = 1
|
||||
@ -19,6 +17,9 @@ if version >= 508 || !exists("did_armv5_syntax_inits")
|
||||
else
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
|
||||
so <sfile>:p:h/include/arm_base_syntax.vim
|
||||
|
||||
HiLink armv4Instr armInstructions
|
||||
HiLink armv5InstrCond armInstructions
|
||||
HiLink armv5InstrNoCond armInstructions
|
||||
|
@ -56,18 +56,19 @@ exec 'syn match armv4SWP "SWP' . armCond . 'B\?\>"'
|
||||
"
|
||||
" ARMv5 instructions
|
||||
"
|
||||
syn match armv5InstrCond
|
||||
exec 'syn match armv5InstrCond "\%(BLX\|CLZ\|MCRR\|MRRC\|QADD\|QSUB\|QDADD\|QDSUB\)' . armCond . '\>"'
|
||||
syn match armv4InstrCond armv5InstrCond
|
||||
HiLink armv4InstrCond armv5InstrCond
|
||||
|
||||
syn match armv5InstrNoCond "\%(BKPT\|CDP2\|LDC2\|MCR2\|MRC2\|PLD\|STC2\)\>"
|
||||
syn match armv4InstrNoCond armv5InstrNoCond
|
||||
HiLink armv4InstrNoCond armv5InstrNoCond
|
||||
|
||||
exec 'syn match armv5Mul "\%(SMLA\|SMLAL\|SMLAW\|SMUL\|SMULW\)[BT][BT]' . armCond . '\>"'
|
||||
|
||||
exec 'syn match armv5LDR "\%(LDR\)' . armCond . 'D\>"'
|
||||
exec 'syn match armv5STR "\%(STR\)' . armCond . 'D\>"'
|
||||
syn match armv4LDR armv5LDR
|
||||
syn match armv4STR armv5STR
|
||||
HiLink armv4LDR armv5LDR
|
||||
HiLink armv4STR armv5STR
|
||||
|
||||
"syn match armRelative "@R[0-7]\|@a\s*+\s*dptr\|@[ab]"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user