annotate runtime/syntax/asm68k.vim @ 25050:7ef7a211f6bf v8.2.3062

patch 8.2.3062: internal error when adding several text properties Commit: https://github.com/vim/vim/commit/4cd5c52d64a66ad1984d33462a40e0c6721ca232 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 27 13:04:00 2021 +0200 patch 8.2.3062: internal error when adding several text properties Problem: Internal error when adding several text properties. Solution: Do not handle text properties when deleting a line for splitting a data block. (closes #8466)
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Jun 2021 13:15:03 +0200
parents 46763b01cd9a
children d6dde6229b36
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Motorola 68000 Assembler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Steve Wall
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: 2001 May 01
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " This is incomplete. In particular, support for 68020 and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " up and 68851/68881 co-processors is partial or non-existant.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Feel free to contribute...
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
11 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
12 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " Partial list of register symbols
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn keyword asm68kReg a0 a1 a2 a3 a4 a5 a6 a7 d0 d1 d2 d3 d4 d5 d6 d7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn keyword asm68kReg pc sr ccr sp usp ssp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " MC68010
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword asm68kReg vbr sfc sfcr dfc dfcr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " MC68020
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword asm68kReg msp isp zpc cacr caar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword asm68kReg za0 za1 za2 za3 za4 za5 za6 za7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword asm68kReg zd0 zd1 zd2 zd3 zd4 zd5 zd6 zd7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " MC68030
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn keyword asm68kReg crp srp tc ac0 ac1 acusr tt0 tt1 mmusr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " MC68040
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword asm68kReg dtt0 dtt1 itt0 itt1 urp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 " MC68851 registers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn keyword asm68kReg cal val scc crp srp drp tc ac psr pcsr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn keyword asm68kReg bac0 bac1 bac2 bac3 bac4 bac5 bac6 bac7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn keyword asm68kReg bad0 bad1 bad2 bad3 bad4 bad5 bad6 bad7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " MC68881/82 registers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword asm68kReg fp0 fp1 fp2 fp3 fp4 fp5 fp6 fp7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn keyword asm68kReg control status iaddr fpcr fpsr fpiar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 " M68000 opcodes - order is important!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match asm68kOpcode "\<abcd\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match asm68kOpcode "\<adda\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match asm68kOpcode "\<addi\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match asm68kOpcode "\<addq\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match asm68kOpcode "\<addx\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match asm68kOpcode "\<add\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match asm68kOpcode "\<andi\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match asm68kOpcode "\<and\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match asm68kOpcode "\<as[lr]\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match asm68kOpcode "\<b[vc][cs]\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match asm68kOpcode "\<beq\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match asm68kOpcode "\<bg[et]\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match asm68kOpcode "\<b[hm]i\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match asm68kOpcode "\<bl[est]\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match asm68kOpcode "\<bne\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match asm68kOpcode "\<bpl\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match asm68kOpcode "\<bchg\(\.[bl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match asm68kOpcode "\<bclr\(\.[bl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn match asm68kOpcode "\<bfchg\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn match asm68kOpcode "\<bfclr\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match asm68kOpcode "\<bfexts\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match asm68kOpcode "\<bfextu\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match asm68kOpcode "\<bfffo\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match asm68kOpcode "\<bfins\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match asm68kOpcode "\<bfset\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match asm68kOpcode "\<bftst\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match asm68kOpcode "\<bkpt\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn match asm68kOpcode "\<bra\(\.[bwls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match asm68kOpcode "\<bset\(\.[bl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match asm68kOpcode "\<bsr\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match asm68kOpcode "\<btst\(\.[bl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match asm68kOpcode "\<callm\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match asm68kOpcode "\<cas2\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match asm68kOpcode "\<cas\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn match asm68kOpcode "\<chk2\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn match asm68kOpcode "\<chk\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn match asm68kOpcode "\<clr\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn match asm68kOpcode "\<cmpa\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn match asm68kOpcode "\<cmpi\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn match asm68kOpcode "\<cmpm\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn match asm68kOpcode "\<cmp2\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn match asm68kOpcode "\<cmp\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn match asm68kOpcode "\<db[cv][cs]\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn match asm68kOpcode "\<dbeq\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn match asm68kOpcode "\<db[ft]\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match asm68kOpcode "\<dbg[et]\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match asm68kOpcode "\<db[hm]i\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match asm68kOpcode "\<dbl[est]\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match asm68kOpcode "\<dbne\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 syn match asm68kOpcode "\<dbpl\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 syn match asm68kOpcode "\<dbra\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 syn match asm68kOpcode "\<div[su]\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn match asm68kOpcode "\<div[su]l\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 syn match asm68kOpcode "\<eori\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match asm68kOpcode "\<eor\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 syn match asm68kOpcode "\<exg\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn match asm68kOpcode "\<extb\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn match asm68kOpcode "\<ext\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match asm68kOpcode "\<illegal\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn match asm68kOpcode "\<jmp\(\.[ls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn match asm68kOpcode "\<jsr\(\.[ls]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match asm68kOpcode "\<lea\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match asm68kOpcode "\<link\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn match asm68kOpcode "\<ls[lr]\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match asm68kOpcode "\<movea\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match asm68kOpcode "\<movec\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match asm68kOpcode "\<movem\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match asm68kOpcode "\<movep\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn match asm68kOpcode "\<moveq\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn match asm68kOpcode "\<moves\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn match asm68kOpcode "\<move\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match asm68kOpcode "\<mul[su]\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn match asm68kOpcode "\<nbcd\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn match asm68kOpcode "\<negx\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn match asm68kOpcode "\<neg\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match asm68kOpcode "\<nop\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match asm68kOpcode "\<not\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match asm68kOpcode "\<ori\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match asm68kOpcode "\<or\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn match asm68kOpcode "\<pack\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn match asm68kOpcode "\<pea\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn match asm68kOpcode "\<reset\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn match asm68kOpcode "\<ro[lr]\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn match asm68kOpcode "\<rox[lr]\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn match asm68kOpcode "\<rt[dm]\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match asm68kOpcode "\<rt[ers]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match asm68kOpcode "\<sbcd\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn match asm68kOpcode "\<s[cv][cs]\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn match asm68kOpcode "\<seq\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn match asm68kOpcode "\<s[ft]\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match asm68kOpcode "\<sg[et]\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn match asm68kOpcode "\<s[hm]i\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match asm68kOpcode "\<sl[est]\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn match asm68kOpcode "\<sne\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn match asm68kOpcode "\<spl\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match asm68kOpcode "\<suba\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn match asm68kOpcode "\<subi\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn match asm68kOpcode "\<subq\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn match asm68kOpcode "\<subx\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 syn match asm68kOpcode "\<sub\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn match asm68kOpcode "\<swap\(\.w\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn match asm68kOpcode "\<tas\(\.b\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 syn match asm68kOpcode "\<tdiv[su]\(\.l\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 syn match asm68kOpcode "\<t\(rap\)\=[cv][cs]\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 syn match asm68kOpcode "\<t\(rap\)\=eq\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 syn match asm68kOpcode "\<t\(rap\)\=[ft]\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn match asm68kOpcode "\<t\(rap\)\=g[et]\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 syn match asm68kOpcode "\<t\(rap\)\=[hm]i\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 syn match asm68kOpcode "\<t\(rap\)\=l[est]\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 syn match asm68kOpcode "\<t\(rap\)\=ne\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn match asm68kOpcode "\<t\(rap\)\=pl\(\.[wl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 syn match asm68kOpcode "\<t\(rap\)\=v\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 syn match asm68kOpcode "\<t\(rap\)\=[cv][cs]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 syn match asm68kOpcode "\<t\(rap\)\=eq\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 syn match asm68kOpcode "\<t\(rap\)\=[ft]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 syn match asm68kOpcode "\<t\(rap\)\=g[et]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 syn match asm68kOpcode "\<t\(rap\)\=[hm]i\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 syn match asm68kOpcode "\<t\(rap\)\=l[est]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 syn match asm68kOpcode "\<t\(rap\)\=ne\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 syn match asm68kOpcode "\<t\(rap\)\=pl\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 syn match asm68kOpcode "\<trap\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 syn match asm68kOpcode "\<tst\(\.[bwl]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 syn match asm68kOpcode "\<unlk\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 syn match asm68kOpcode "\<unpk\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 " Valid labels
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 syn match asm68kLabel "^[a-z_?.][a-z0-9_?.$]*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 syn match asm68kLabel "^[a-z_?.][a-z0-9_?.$]*\s"he=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 syn match asm68kLabel "^\s*[a-z_?.][a-z0-9_?.$]*:"he=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 " Various number formats
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 syn match hexNumber "\$[0-9a-fA-F]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 syn match hexNumber "\<[0-9][0-9a-fA-F]*H\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 syn match octNumber "@[0-7]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 syn match octNumber "\<[0-7]\+[QO]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 syn match binNumber "%[01]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 syn match binNumber "\<[01]\+B\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 syn match decNumber "\<[0-9]\+D\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 syn match floatE "_*E_*" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 syn match floatExponent "_*E_*[-+]\=[0-9]\+" contained contains=floatE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 syn match floatNumber "[-+]\=[0-9]\+_*E_*[-+]\=[0-9]\+" contains=floatExponent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 syn match floatNumber "[-+]\=[0-9]\+\.[0-9]\+\(E[-+]\=[0-9]\+\)\=" contains=floatExponent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 syn match floatNumber ":\([0-9a-f]\+_*\)\+"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 " Character string constants
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 syn match asm68kStringError "'[ -~]*'"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 syn match asm68kStringError "'[ -~]*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 syn region asm68kString start="'" skip="''" end="'" oneline contains=asm68kCharError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 syn match asm68kCharError "[^ -~]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196 " Immediate data
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 syn match asm68kImmediate "#\$[0-9a-fA-F]\+" contains=hexNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 syn match asm68kImmediate "#[0-9][0-9a-fA-F]*H" contains=hexNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 syn match asm68kImmediate "#@[0-7]\+" contains=octNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 syn match asm68kImmediate "#[0-7]\+[QO]" contains=octNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 syn match asm68kImmediate "#%[01]\+" contains=binNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 syn match asm68kImmediate "#[01]\+B" contains=binNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 syn match asm68kImmediate "#[0-9]\+D\=" contains=decNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 syn match asm68kSymbol "[a-z_?.][a-z0-9_?.$]*" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 syn match asm68kImmediate "#[a-z_?.][a-z0-9_?.]*" contains=asm68kSymbol
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 " Special items for comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 syn keyword asm68kTodo contained TODO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 " Operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 syn match asm68kOperator "[-+*/]" " Must occur before Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 syn match asm68kOperator "\.SIZEOF\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 syn match asm68kOperator "\.STARTOF\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 syn match asm68kOperator "<<" " shift left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 syn match asm68kOperator ">>" " shift right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 syn match asm68kOperator "&" " bit-wise logical and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 syn match asm68kOperator "!" " bit-wise logical or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 syn match asm68kOperator "!!" " exclusive or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 syn match asm68kOperator "<>" " inequality
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 syn match asm68kOperator "=" " must be before other ops containing '='
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221 syn match asm68kOperator ">="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 syn match asm68kOperator "<="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 syn match asm68kOperator "==" " operand existance - used in macro definitions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 " Condition code style operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226 syn match asm68kOperator "<[CV][CS]>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 syn match asm68kOperator "<EQ>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 syn match asm68kOperator "<G[TE]>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 syn match asm68kOperator "<[HM]I>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 syn match asm68kOperator "<L[SET]>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 syn match asm68kOperator "<NE>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 syn match asm68kOperator "<PL>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 syn match asm68kComment ";.*" contains=asm68kTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 syn match asm68kComment "\s!.*"ms=s+1 contains=asm68kTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 syn match asm68kComment "^\s*[*!].*" contains=asm68kTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 " Include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 syn match asm68kInclude "\<INCLUDE\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 " Standard macros
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 syn match asm68kCond "\<IF\(\.[BWL]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 syn match asm68kCond "\<THEN\(\.[SL]\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 syn match asm68kCond "\<ELSE\(\.[SL]\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 syn match asm68kCond "\<ENDI\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 syn match asm68kCond "\<BREAK\(\.[SL]\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 syn match asm68kRepeat "\<FOR\(\.[BWL]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 syn match asm68kRepeat "\<DOWNTO\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 syn match asm68kRepeat "\<TO\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 syn match asm68kRepeat "\<BY\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 syn match asm68kRepeat "\<DO\(\.[SL]\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 syn match asm68kRepeat "\<ENDF\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 syn match asm68kRepeat "\<NEXT\(\.[SL]\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 syn match asm68kRepeat "\<REPEAT\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 syn match asm68kRepeat "\<UNTIL\(\.[BWL]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 syn match asm68kRepeat "\<WHILE\(\.[BWL]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 syn match asm68kRepeat "\<ENDW\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 " Macro definition
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 syn match asm68kMacro "\<MACRO\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 syn match asm68kMacro "\<LOCAL\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 syn match asm68kMacro "\<MEXIT\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 syn match asm68kMacro "\<ENDM\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 syn match asm68kMacroParam "\\[0-9]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 " Conditional assembly
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 syn match asm68kPreCond "\<IFC\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 syn match asm68kPreCond "\<IFDEF\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270 syn match asm68kPreCond "\<IFEQ\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 syn match asm68kPreCond "\<IFGE\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 syn match asm68kPreCond "\<IFGT\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 syn match asm68kPreCond "\<IFLE\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 syn match asm68kPreCond "\<IFLT\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 syn match asm68kPreCond "\<IFNC\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 syn match asm68kPreCond "\<IFNDEF\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 syn match asm68kPreCond "\<IFNE\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 syn match asm68kPreCond "\<ELSEC\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 syn match asm68kPreCond "\<ENDC\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 " Loop control
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 syn match asm68kPreCond "\<REPT\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 syn match asm68kPreCond "\<IRP\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 syn match asm68kPreCond "\<IRPC\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 syn match asm68kPreCond "\<ENDR\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 " Directives
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 syn match asm68kDirective "\<ALIGN\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 syn match asm68kDirective "\<CHIP\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 syn match asm68kDirective "\<COMLINE\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 syn match asm68kDirective "\<COMMON\(\.S\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 syn match asm68kDirective "\<DC\(\.[BWLSDXP]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 syn match asm68kDirective "\<DC\.\\[0-9]\s"me=e-3 " Special use in a macro def
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 syn match asm68kDirective "\<DCB\(\.[BWLSDXP]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 syn match asm68kDirective "\<DS\(\.[BWLSDXP]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 syn match asm68kDirective "\<END\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 syn match asm68kDirective "\<EQU\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 syn match asm68kDirective "\<FEQU\(\.[SDXP]\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 syn match asm68kDirective "\<FAIL\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 syn match asm68kDirective "\<FOPT\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 syn match asm68kDirective "\<\(NO\)\=FORMAT\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 syn match asm68kDirective "\<IDNT\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 syn match asm68kDirective "\<\(NO\)\=LIST\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 syn match asm68kDirective "\<LLEN\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 syn match asm68kDirective "\<MASK2\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 syn match asm68kDirective "\<NAME\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 syn match asm68kDirective "\<NOOBJ\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 syn match asm68kDirective "\<OFFSET\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 syn match asm68kDirective "\<OPT\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 syn match asm68kDirective "\<ORG\(\.[SL]\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 syn match asm68kDirective "\<\(NO\)\=PAGE\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 syn match asm68kDirective "\<PLEN\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 syn match asm68kDirective "\<REG\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 syn match asm68kDirective "\<RESTORE\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 syn match asm68kDirective "\<SAVE\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 syn match asm68kDirective "\<SECT\(\.S\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 syn match asm68kDirective "\<SECTION\(\.S\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 syn match asm68kDirective "\<SET\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syn match asm68kDirective "\<SPC\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 syn match asm68kDirective "\<TTL\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 syn match asm68kDirective "\<XCOM\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 syn match asm68kDirective "\<XDEF\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 syn match asm68kDirective "\<XREF\(\.S\)\=\s"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
328 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
330 " The default methods for highlighting. Can be overridden later
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
331 " Comment Constant Error Identifier PreProc Special Statement Todo Type
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
332 "
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
333 " Constant Boolean Character Number String
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
334 " Identifier Function
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
335 " PreProc Define Include Macro PreCondit
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
336 " Special Debug Delimiter SpecialChar SpecialComment Tag
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
337 " Statement Conditional Exception Keyword Label Operator Repeat
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
338 " Type StorageClass Structure Typedef
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
340 hi def link asm68kComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
341 hi def link asm68kTodo Todo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
343 hi def link hexNumber Number " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
344 hi def link octNumber Number " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
345 hi def link binNumber Number " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
346 hi def link decNumber Number " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
347 hi def link floatNumber Number " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
348 hi def link floatExponent Number " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
349 hi def link floatE SpecialChar " Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
350 "hi def link floatE Number " Constant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
352 hi def link asm68kImmediate SpecialChar " Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
353 "hi def link asm68kSymbol Constant
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
355 hi def link asm68kString String " Constant
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
356 hi def link asm68kCharError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
357 hi def link asm68kStringError Error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
359 hi def link asm68kReg Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
360 hi def link asm68kOperator Identifier
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
362 hi def link asm68kInclude Include " PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
363 hi def link asm68kMacro Macro " PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
364 hi def link asm68kMacroParam Keyword " Statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
366 hi def link asm68kDirective Special
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
367 hi def link asm68kPreCond Special
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
370 hi def link asm68kOpcode Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
371 hi def link asm68kCond Conditional " Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
372 hi def link asm68kRepeat Repeat " Statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
374 hi def link asm68kLabel Type
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 let b:current_syntax = "asm68k"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 " vim: ts=8 sw=2