summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/cdrtoc.vim
blob: 866784d7c27d8044372e203b01c393053bf8cdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
" Vim syntax file
" Language:             cdrdao(1) TOC file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2007-05-10

if exists("b:current_syntax")
  finish
endif

let s:cpo_save = &cpo
set cpo&vim

syn keyword cdrtocTodo
      \ contained
      \ TODO
      \ FIXME
      \ XXX
      \ NOTE

syn cluster cdrtocCommentContents
      \ contains=
      \   cdrtocTodo,
      \   @Spell

syn cluster cdrtocHeaderFollowsInitial
      \ contains=
      \   cdrtocHeaderCommentInitial,
      \   cdrtocHeaderCatalog,
      \   cdrtocHeaderTOCType,
      \   cdrtocHeaderCDText,
      \   cdrtocTrack

syn match   cdrtocHeaderBegin
      \ nextgroup=@cdrtocHeaderFollowsInitial
      \ skipwhite skipempty
      \ '\%^'

let s:mmssff_pattern = '\%([0-5]\d\|\d\):\%([0-5]\d\|\d\):\%([0-6]\d\|7[0-5]\|\d\)\>'
let s:byte_pattern = '\<\%([01]\=\d\{1,2}\|2\%([0-4]\d\|5[0-5]\)\)\>'
let s:length_pattern = '\%(\%([0-5]\d\|\d\):\%([0-5]\d\|\d\):\%([0-6]\d\|7[0-5]\|\d\)\|\d\+\)\>'

function s:def_comment(name, nextgroup)
  execute 'syn match' a:name
        \ 'nextgroup=' . a:nextgroup . ',' . a:name
        \ 'skipwhite skipempty'
        \ 'contains=@cdrtocCommentContents'
        \ 'contained'
        \ "'//.*$'"
  execute 'hi def link' a:name 'cdrtocComment'
endfunction

function s:def_keywords(name, nextgroup, keywords)
  let comment_group = a:name . 'FollowComment'
  execute 'syn keyword' a:name
        \ 'nextgroup=' . a:nextgroup . ',' . comment_group
        \ 'skipwhite skipempty'
        \ 'contained'
        \ join(a:keywords)

  call s:def_comment(comment_group, a:nextgroup)
endfunction

function s:def_keyword(name, nextgroup, keyword)
  call s:def_keywords(a:name, a:nextgroup, [a:keyword])
endfunction

" NOTE: Pattern needs to escape any “@”s.
function s:def_match(name, nextgroup, pattern)
  let comment_group = a:name . 'FollowComment'
  execute 'syn match' a:name
        \ 'nextgroup=' . a:nextgroup . ',' . comment_group
        \ 'skipwhite skipempty'
        \ 'contained'
        \ '@' . a:pattern . '@'

  call s:def_comment(comment_group, a:nextgroup)
endfunction

function s:def_region(name, nextgroup, start, skip, end, matchgroup, contains)
  let comment_group = a:name . 'FollowComment'
  execute 'syn region' a:name
        \ 'nextgroup=' . a:nextgroup . ',' . comment_group
        \ 'skipwhite skipempty'
        \ 'contained'
        \ 'matchgroup=' . a:matchgroup
        \ 'contains=' . a:contains
        \ 'start=@' . a:start . '@'
        \ (a:skip != "" ? ('skip=@' . a:skip . '@') : "")
        \ 'end=@' . a:end . '@'

  call s:def_comment(comment_group, a:nextgroup)
endfunction

call s:def_comment('cdrtocHeaderCommentInitial', '@cdrtocHeaderFollowsInitial')

call s:def_keyword('cdrtocHeaderCatalog', 'cdrtocHeaderCatalogNumber', 'CATALOG')

call s:def_match('cdrtocHeaderCatalogNumber', '@cdrtocHeaderFollowsInitial', '"\d\{13\}"')

call s:def_keywords('cdrtocHeaderTOCType', '@cdrtocHeaderFollowsInitial', ['CD_DA', 'CD_ROM', 'CD_ROM_XA'])

call s:def_keyword('cdrtocHeaderCDText', 'cdrtocHeaderCDTextStart', 'CD_TEXT')

" TODO: Actually, language maps aren’t required by TocParser.g, but let’s keep
" things simple (and in agreement with what the manual page says).
call s:def_match('cdrtocHeaderCDTextStart', 'cdrtocHeaderCDTextLanguageMap', '{')

call s:def_keyword('cdrtocHeaderCDTextLanguageMap', 'cdrtocHeaderLanguageMapStart', 'LANGUAGE_MAP')

call s:def_match('cdrtocHeaderLanguageMapStart', 'cdrtocHeaderLanguageMapLanguageNumber', '{')

call s:def_match('cdrtocHeaderLanguageMapLanguageNumber', 'cdrtocHeaderLanguageMapColon', '\<[0-7]\>')

call s:def_match('cdrtocHeaderLanguageMapColon', 'cdrtocHeaderLanguageMapCountryCode,cdrtocHeaderLanguageMapCountryCodeName', ':')

syn cluster cdrtocHeaderLanguageMapCountryCodeFollow
      \ contains=
      \   cdrtocHeaderLanguageMapLanguageNumber,
      \   cdrtocHeaderLanguageMapEnd

call s:def_match('cdrtocHeaderLanguageMapCountryCode',
               \ '@cdrtocHeaderLanguageMapCountryCodeFollow',
               \ s:byte_pattern)

call s:def_keyword('cdrtocHeaderLanguageMapCountryCodeName',
                 \ '@cdrtocHeaderLanguageMapCountryCodeFollow',
                 \ 'EN')

call s:def_match('cdrtocHeaderLanguageMapEnd',
               \ 'cdrtocHeaderLanguage,cdrtocHeaderCDTextEnd',
               \ '}')

call s:def_keyword('cdrtocHeaderLanguage', 'cdrtocHeaderLanguageNumber', 'LANGUAGE')

call s:def_match('cdrtocHeaderLanguageNumber', 'cdrtocHeaderLanguageStart', '\<[0-7]\>')

call s:def_match('cdrtocHeaderLanguageStart',
               \ 'cdrtocHeaderCDTextItem,cdrtocHeaderLanguageEnd',
               \ '{')

syn cluster cdrtocHeaderCDTextData
      \ contains=
      \   cdrtocHeaderCDTextDataString,
      \   cdrtocHeaderCDTextDataBinaryStart

call s:def_keywords('cdrtocHeaderCDTextItem',
                  \ '@cdrtocHeaderCDTextData',
                  \ ['TITLE', 'PERFORMER', 'SONGWRITER', 'COMPOSER',
                  \  'ARRANGER', 'MESSAGE', 'DISC_ID', 'GENRE', 'TOC_INFO1',
                  \  'TOC_INFO2', 'UPC_EAN', 'ISRC', 'SIZE_INFO'])

call s:def_region('cdrtocHeaderCDTextDataString',
                \ 'cdrtocHeaderCDTextItem,cdrtocHeaderLanguageEnd',
                \ '"',
                \ '\\\\\|\\"',
                \ '"',
                \ 'cdrtocHeaderCDTextDataStringDelimiters',
                \ 'cdrtocHeaderCDTextDataStringSpecialChar')

syn match   cdrtocHeaderCDTextDataStringSpecialChar
      \ contained
      \ display
      \ '\\\%(\o\o\o\|["\\]\)'

call s:def_match('cdrtocHeaderCDTextDataBinaryStart',
               \ 'cdrtocHeaderCDTextDataBinaryInteger',
               \ '{')

call s:def_match('cdrtocHeaderCDTextDataBinaryInteger',
               \ 'cdrtocHeaderCDTextDataBinarySeparator,cdrtocHeaderCDTextDataBinaryEnd',
               \ s:byte_pattern)

call s:def_match('cdrtocHeaderCDTextDataBinarySeparator',
               \ 'cdrtocHeaderCDTextDataBinaryInteger',
               \ ',')

call s:def_match('cdrtocHeaderCDTextDataBinaryEnd',
               \ 'cdrtocHeaderCDTextItem,cdrtocHeaderLanguageEnd',
               \ '}')

call s:def_match('cdrtocHeaderLanguageEnd',
               \ 'cdrtocHeaderLanguage,cdrtocHeaderCDTextEnd',
               \ '}')

call s:def_match('cdrtocHeaderCDTextEnd',
               \ 'cdrtocTrack',
               \ '}')

syn cluster cdrtocTrackFollow
      \ contains=
      \   @cdrtocTrackFlags,
      \   cdrtocTrackCDText,
      \   cdrtocTrackPregap,
      \   @cdrtocTrackContents

call s:def_keyword('cdrtocTrack', 'cdrtocTrackMode', 'TRACK')

call s:def_keywords('cdrtocTrackMode',
                  \ 'cdrtocTrackSubChannelMode,@cdrtocTrackFollow',
                  \ ['AUDIO', 'MODE1', 'MODE1_RAW', 'MODE2', 'MODE2_FORM1',
                  \  'MODE2_FORM2', 'MODE2_FORM_MIX', 'MODE2_RAW'])

call s:def_keywords('cdrtocTrackSubChannelMode',
                  \ '@cdrtocTrackFollow',
                  \ ['RW', 'RW_RAW'])

syn cluster cdrtocTrackFlags
      \ contains=
      \   cdrtocTrackFlagNo,
      \   cdrtocTrackFlagCopy,
      \   cdrtocTrackFlagPreEmphasis,
      \   cdrtocTrackFlag

call s:def_keyword('cdrtocTrackFlagNo',
                 \ 'cdrtocTrackFlagCopy,cdrtocTrackFlagPreEmphasis',
                 \ 'NO')

call s:def_keyword('cdrtocTrackFlagCopy', '@cdrtocTrackFollow', 'COPY')

call s:def_keyword('cdrtocTrackFlagPreEmphasis', '@cdrtocTrackFollow', 'PRE_EMPHASIS')

call s:def_keywords('cdrtocTrackFlag',
                  \ '@cdrtocTrackFollow',
                  \ ['TWO_CHANNEL_AUDIO', 'FOUR_CHANNEL_AUDIO'])

call s:def_keyword('cdrtocTrackFlag', 'cdrtocTrackISRC', 'ISRC')

call s:def_match('cdrtocTrackISRC',
               \ '@cdrtocTrackFollow',
               \ '"[[:upper:][:digit:]]\{5}\d\{7}"')

call s:def_keyword('cdrtocTrackCDText', 'cdrtocTrackCDTextStart', 'CD_TEXT')

call s:def_match('cdrtocTrackCDTextStart', 'cdrtocTrackCDTextLanguage', '{')

call s:def_keyword('cdrtocTrackCDTextLanguage', 'cdrtocTrackCDTextLanguageNumber', 'LANGUAGE')

call s:def_match('cdrtocTrackCDTextLanguageNumber', 'cdrtocTrackCDTextLanguageStart', '\<[0-7]\>')

call s:def_match('cdrtocTrackCDTextLanguageStart',
               \ 'cdrtocTrackCDTextItem,cdrtocTrackCDTextLanguageEnd',
               \ '{')

syn cluster cdrtocTrackCDTextData
      \ contains=
      \   cdrtocTrackCDTextDataString,
      \   cdrtocTrackCDTextDataBinaryStart

call s:def_keywords('cdrtocTrackCDTextItem',
                  \ '@cdrtocTrackCDTextData',
                  \ ['TITLE', 'PERFORMER', 'SONGWRITER', 'COMPOSER', 'ARRANGER',
                  \  'MESSAGE', 'ISRC'])

call s:def_region('cdrtocTrackCDTextDataString',
                \ 'cdrtocTrackCDTextItem,cdrtocTrackCDTextLanguageEnd',
                \ '"',
                \ '\\\\\|\\"',
                \ '"',
                \ 'cdrtocTrackCDTextDataStringDelimiters',
                \ 'cdrtocTrackCDTextDataStringSpecialChar')

syn match   cdrtocTrackCDTextDataStringSpecialChar
      \ contained
      \ display
      \ '\\\%(\o\o\o\|["\\]\)'

call s:def_match('cdrtocTrackCDTextDataBinaryStart',
               \ 'cdrtocTrackCDTextDataBinaryInteger',
               \ '{')

call s:def_match('cdrtocTrackCDTextDataBinaryInteger',
               \ 'cdrtocTrackCDTextDataBinarySeparator,cdrtocTrackCDTextDataBinaryEnd',
               \ s:byte_pattern)

call s:def_match('cdrtocTrackCDTextDataBinarySeparator',
               \ 'cdrtocTrackCDTextDataBinaryInteger',
               \ ',')

call s:def_match('cdrtocTrackCDTextDataBinaryEnd',
               \ 'cdrtocTrackCDTextItem,cdrtocTrackCDTextLanguageEnd',
               \ '}')

call s:def_match('cdrtocTrackCDTextLanguageEnd',
               \ 'cdrtocTrackCDTextLanguage,cdrtocTrackCDTextEnd',
               \ '}')

call s:def_match('cdrtocTrackCDTextEnd',
               \ 'cdrtocTrackPregap,@cdrtocTrackContents',
               \ '}')

call s:def_keyword('cdrtocTrackPregap', 'cdrtocTrackPregapMMSSFF', 'PREGAP')

call s:def_match('cdrtocTrackPregapMMSSFF',
               \ '@cdrtocTrackContents',
               \ s:mmssff_pattern)

syn cluster cdrtocTrackContents
      \ contains=
      \   cdrtocTrackSubTrack,
      \   cdrtocTrackMarker

syn cluster cdrtocTrackContentsFollow
      \ contains=
      \   @cdrtocTrackContents,
      \   cdrtocTrackIndex,
      \   cdrtocTrack

call s:def_keywords('cdrtocTrackSubTrack',
                  \ 'cdrtocTrackSubTrackFileFilename',
                  \ ['FILE', 'AUDIOFILE'])

call s:def_region('cdrtocTrackSubTrackFileFilename',
                \ 'cdrtocTrackSubTrackFileStart',
                \ '"',
                \ '\\\\\|\\"',
                \ '"',
                \ 'cdrtocTrackSubTrackFileFilenameDelimiters',
                \ 'cdrtocTrackSubTrackFileFilenameSpecialChar')

syn match   cdrtocTrackSubTrackFileFilenameSpecialChar
      \ contained
      \ display
      \ '\\\%(\o\o\o\|["\\]\)'

call s:def_match('cdrtocTrackSubTrackFileStart',
               \ 'cdrtocTrackSubTrackFileLength,@cdrtocTrackContentsFollow',
               \ s:length_pattern)

call s:def_match('cdrtocTrackSubTrackFileLength',
               \ '@cdrtocTrackContentsFollow',
               \ s:length_pattern)

call s:def_keyword('cdrtocTrackSubTrack', 'cdrtocTrackContentDatafileFilename', 'DATAFILE')

call s:def_region('cdrtocTrackSubTrackDatafileFilename',
                \ 'cdrtocTrackSubTrackDatafileLength',
                \ '"',
                \ '\\\\\|\\"',
                \ '"',
                \ 'cdrtocTrackSubTrackDatafileFilenameDelimiters',
                \ 'cdrtocTrackSubTrackDatafileFilenameSpecialChar')

syn match   cdrtocTrackSubTrackdatafileFilenameSpecialChar
      \ contained
      \ display
      \ '\\\%(\o\o\o\|["\\]\)'

call s:def_match('cdrtocTrackDatafileLength',
               \ '@cdrtocTrackContentsFollow',
               \ s:length_pattern)

call s:def_keyword('cdrtocTrackSubTrack', 'cdrtocTrackContentFifoFilename', 'DATAFILE')

call s:def_region('cdrtocTrackSubTrackFifoFilename',
                \ 'cdrtocTrackSubTrackFifoLength',
                \ '"',
                \ '\\\\\|\\"',
                \ '"',
                \ 'cdrtocTrackSubTrackFifoFilenameDelimiters',
                \ 'cdrtocTrackSubTrackFifoFilenameSpecialChar')

syn match   cdrtocTrackSubTrackdatafileFilenameSpecialChar
      \ contained
      \ display
      \ '\\\%(\o\o\o\|["\\]\)'

call s:def_match('cdrtocTrackFifoLength',
               \ '@cdrtocTrackContentsFollow',
               \ s:length_pattern)

call s:def_keyword('cdrtocTrackSubTrack', 'cdrtocTrackSilenceLength', 'SILENCE')

call s:def_match('cdrtocTrackSilenceLength',
               \ '@cdrtocTrackContentsFollow',
               \ s:length_pattern)

call s:def_keyword('cdrtocTrackSubTrack',
                 \ 'cdrtocTrackSubTrackZeroDataMode,' .
                 \ 'cdrtocTrackSubTrackZeroDataSubChannelMode,' .
                 \ 'cdrtocTrackSubTrackZeroDataLength',
                 \ 'ZERO')

call s:def_keywords('cdrtocTrackSubTrackZeroDataMode',
                  \ 'cdrtocTrackSubTrackZeroSubChannelMode,cdrtocTrackSubTrackZeroDataLength',
                  \ ['AUDIO', 'MODE1', 'MODE1_RAW', 'MODE2', 'MODE2_FORM1',
                  \  'MODE2_FORM2', 'MODE2_FORM_MIX', 'MODE2_RAW'])

call s:def_keywords('cdrtocTrackSubTrackZeroDataSubChannelMode',
                  \ 'cdrtocTrackSubTrackZeroDataLength',
                  \ ['RW', 'RW_RAW'])

call s:def_match('cdrtocTrackSubTrackZeroDataLength',
               \ '@cdrtocTrackContentsFollow',
               \ s:length_pattern)

call s:def_keyword('cdrtocTrackMarker',
                 \ '@cdrtocTrackContentsFollow,cdrtocTrackMarkerStartMMSSFF',
                 \ 'START')

call s:def_match('cdrtocTrackMarkerStartMMSSFF',
               \ '@cdrtocTrackContentsFollow',
               \ s:mmssff_pattern)

call s:def_keyword('cdrtocTrackMarker',
                 \ '@cdrtocTrackContentsFollow,cdrtocTrackMarkerEndMMSSFF',
                 \ 'END')

call s:def_match('cdrtocTrackMarkerEndMMSSFF',
               \ '@cdrtocTrackContentsFollow',
               \ s:mmssff_pattern)

call s:def_keyword('cdrtocTrackIndex', 'cdrtocTrackIndexMMSSFF', 'INDEX')

call s:def_match('cdrtocTrackIndexMMSSFF',
               \ 'cdrtocTrackIndex,cdrtocTrack',
               \ s:mmssff_pattern)

delfunction s:def_region
delfunction s:def_match
delfunction s:def_keyword
delfunction s:def_keywords
delfunction s:def_comment

syn sync fromstart

hi def link cdrtocKeyword                                  Keyword
hi def link cdrtocHeaderKeyword                            cdrtocKeyword
hi def link cdrtocHeaderCDText                             cdrtocHeaderKeyword
hi def link cdrtocDelimiter                                Delimiter
hi def link cdrtocCDTextDataBinaryEnd                      cdrtocDelimiter
hi def link cdrtocHeaderCDTextDataBinaryEnd                cdrtocHeaderCDTextDataBinaryEnd
hi def link cdrtocNumber                                   Number
hi def link cdrtocCDTextDataBinaryInteger                  cdrtocNumber
hi def link cdrtocHeaderCDTextDataBinaryInteger            cdrtocCDTextDataBinaryInteger
hi def link cdrtocCDTextDataBinarySeparator                cdrtocDelimiter
hi def link cdrtocHeaderCDTextDataBinarySeparator          cdrtocCDTextDataBinarySeparator
hi def link cdrtocCDTextDataBinaryStart                    cdrtocDelimiter
hi def link cdrtocHeaderCDTextDataBinaryStart              cdrtocCDTextDataBinaryStart
hi def link cdrtocString                                   String
hi def link cdrtocCDTextDataString                         cdrtocString
hi def link cdrtocHeaderCDTextDataString                   cdrtocCDTextDataString
hi def link cdrtocCDTextDataStringDelimiters               cdrtocDelimiter
hi def link cdrtocHeaderCDTextDataStringDelimiters         cdrtocCDTextDataStringDelimiters
hi def link cdrtocCDTextDataStringSpecialChar              SpecialChar
hi def link cdrtocHeaderCDTextDataStringSpecialChar        cdrtocCDTextDataStringSpecialChar
hi def link cdrtocCDTextEnd                                cdrtocDelimiter
hi def link cdrtocHeaderCDTextEnd                          cdrtocCDTextEnd
hi def link cdrtocType                                     Type
hi def link cdrtocCDTextItem                               cdrtocType
hi def link cdrtocHeaderCDTextItem                         cdrtocCDTextItem
hi def link cdrtocHeaderCDTextLanguageMap                  cdrtocHeaderKeyword
hi def link cdrtocCDTextStart                              cdrtocDelimiter
hi def link cdrtocHeaderCDTextStart                        cdrtocCDTextStart
hi def link cdrtocHeaderCatalog                            cdrtocHeaderKeyword
hi def link cdrtocHeaderCatalogNumber                      cdrtocString
hi def link cdrtocComment                                  Comment
hi def link cdrtocHeaderCommentInitial                     cdrtocComment
hi def link cdrtocHeaderLanguage                           cdrtocKeyword
hi def link cdrtocLanguageEnd                              cdrtocDelimiter
hi def link cdrtocHeaderLanguageEnd                        cdrtocLanguageEnd
hi def link cdrtocHeaderLanguageMapColon                   cdrtocDelimiter
hi def link cdrtocIdentifier                               Identifier
hi def link cdrtocHeaderLanguageMapCountryCode             cdrtocNumber
hi def link cdrtocHeaderLanguageMapCountryCodeName         cdrtocIdentifier
hi def link cdrtocHeaderLanguageMapEnd                     cdrtocDelimiter
hi def link cdrtocHeaderLanguageMapLanguageNumber          cdrtocNumber
hi def link cdrtocHeaderLanguageMapStart                   cdrtocDelimiter
hi def link cdrtocLanguageNumber                           cdrtocNumber
hi def link cdrtocHeaderLanguageNumber                     cdrtocLanguageNumber
hi def link cdrtocLanguageStart                            cdrtocDelimiter
hi def link cdrtocHeaderLanguageStart                      cdrtocLanguageStart
hi def link cdrtocHeaderTOCType                            cdrtocType
hi def link cdrtocTodo                                     Todo
hi def link cdrtocTrackKeyword                             cdrtocKeyword
hi def link cdrtocTrack                                    cdrtocTrackKeyword
hi def link cdrtocTrackCDText                              cdrtocTrackKeyword
hi def link cdrtocTrackCDTextDataBinaryEnd                 cdrtocHeaderCDTextDataBinaryEnd
hi def link cdrtocTrackCDTextDataBinaryInteger             cdrtocHeaderCDTextDataBinaryInteger
hi def link cdrtocTrackCDTextDataBinarySeparator           cdrtocHeaderCDTextDataBinarySeparator
hi def link cdrtocTrackCDTextDataBinaryStart               cdrtocHeaderCDTextDataBinaryStart
hi def link cdrtocTrackCDTextDataString                    cdrtocHeaderCDTextDataString
hi def link cdrtocTrackCDTextDataStringDelimiters          cdrtocCDTextDataStringDelimiters
hi def link cdrtocTrackCDTextDataStringSpecialChar         cdrtocCDTextDataStringSpecialChar
hi def link cdrtocTrackCDTextEnd                           cdrtocCDTextEnd
hi def link cdrtocTrackCDTextItem                          cdrtocCDTextItem
hi def link cdrtocTrackCDTextStart                         cdrtocCDTextStart
hi def link cdrtocLength                                   cdrtocNumber
hi def link cdrtocTrackDatafileLength                      cdrtocLength
hi def link cdrtocTrackFifoLength                          cdrtocLength
hi def link cdrtocPreProc                                  PreProc
hi def link cdrtocTrackFlag                                cdrtocPreProc
hi def link cdrtocTrackFlagCopy                            cdrtocTrackFlag
hi def link cdrtocSpecial                                  Special
hi def link cdrtocTrackFlagNo                              cdrtocSpecial
hi def link cdrtocTrackFlagPreEmphasis                     cdrtocTrackFlag
hi def link cdrtocTrackISRC                                cdrtocTrackFlag
hi def link cdrtocTrackIndex                               cdrtocTrackKeyword
hi def link cdrtocMMSSFF                                   cdrtocLength
hi def link cdrtocTrackIndexMMSSFF                         cdrtocMMSSFF
hi def link cdrtocTrackCDTextLanguage                      cdrtocTrackKeyword
hi def link cdrtocTrackCDTextLanguageEnd                   cdrtocLanguageEnd
hi def link cdrtocTrackCDTextLanguageNumber                cdrtocLanguageNumber
hi def link cdrtocTrackCDTextLanguageStart                 cdrtocLanguageStart
hi def link cdrtocTrackContents                            StorageClass
hi def link cdrtocTrackMarker                              cdrtocTrackContents
hi def link cdrtocTrackMarkerEndMMSSFF                     cdrtocMMSSFF
hi def link cdrtocTrackMarkerStartMMSSFF                   cdrtocMMSSFF
hi def link cdrtocTrackMode                                Type
hi def link cdrtocTrackPregap                              cdrtocTrackContents
hi def link cdrtocTrackPregapMMSSFF                        cdrtocMMSSFF
hi def link cdrtocTrackSilenceLength                       cdrtocLength
hi def link cdrtocTrackSubChannelMode                      cdrtocPreProc
hi def link cdrtocTrackSubTrack                            cdrtocTrackContents
hi def link cdrtocFilename                                 cdrtocString
hi def link cdrtocTrackSubTrackDatafileFilename            cdrtocFilename
hi def link cdrtocTrackSubTrackDatafileFilenameDelimiters  cdrtocTrackSubTrackDatafileFilename
hi def link cdrtocSpecialChar                              SpecialChar
hi def link cdrtocTrackSubTrackDatafileFilenameSpecialChar cdrtocSpecialChar
hi def link cdrtocTrackSubTrackDatafileLength              cdrtocLength
hi def link cdrtocTrackSubTrackFifoFilename                cdrtocFilename
hi def link cdrtocTrackSubTrackFifoFilenameDelimiters      cdrtocTrackSubTrackFifoFilename
hi def link cdrtocTrackSubTrackFifoFilenameSpecialChar     cdrtocSpecialChar
hi def link cdrtocTrackSubTrackFifoLength                  cdrtocLength
hi def link cdrtocTrackSubTrackFileFilename                cdrtocFilename
hi def link cdrtocTrackSubTrackFileFilenameDelimiters      cdrtocTrackSubTrackFileFilename
hi def link cdrtocTrackSubTrackFileFilenameSpecialChar     cdrtocSpecialChar
hi def link cdrtocTrackSubTrackFileLength                  cdrtocLength
hi def link cdrtocTrackSubTrackFileStart                   cdrtocLength
hi def link cdrtocTrackSubTrackZeroDataLength              cdrtocLength
hi def link cdrtocTrackSubTrackZeroDataMode                Type
hi def link cdrtocTrackSubTrackZeroDataSubChannelMode      cdrtocPreProc
hi def link cdrtocTrackSubTrackdatafileFilenameSpecialChar cdrtocSpecialChar

let b:current_syntax = "cdrtoc"

let &cpo = s:cpo_save
unlet s:cpo_save