Mercurial > vim
comparison runtime/syntax/tasm.vim @ 3312:b7811ab264bf v7.3.423
updated for version 7.3.423
Problem: Small mistakes in comments, proto and indent.
Solution: Fix the mistakes.
Also update runtime files
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 04 Feb 2012 21:59:01 +0100 |
parents | 3fc0f57ecb91 |
children | 43efa4f5a8ea |
comparison
equal
deleted
inserted
replaced
3311:54d1536a1c8b | 3312:b7811ab264bf |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: TASM: turbo assembler by Borland | 2 " Language: TASM: turbo assembler by Borland |
3 " Maintaner: FooLman of United Force <foolman@bigfoot.com> | 3 " Maintaner: FooLman of United Force <foolman@bigfoot.com> |
4 " Last change: 22 aug 2000 | 4 " Last Change: 2012 Feb 03 by Thilo Six |
5 | 5 |
6 " For version 5.x: Clear all syntax items | 6 " For version 5.x: Clear all syntax items |
7 " For version 6.x: Quit when a syntax file was already loaded | 7 " For version 6.x: Quit when a syntax file was already loaded |
8 if version < 600 | 8 if version < 600 |
9 syntax clear | 9 syntax clear |
10 elseif exists("b:current_syntax") | 10 elseif exists("b:current_syntax") |
11 finish | 11 finish |
12 endif | 12 endif |
13 | |
14 let s:cpo_save = &cpo | |
15 set cpo&vim | |
13 | 16 |
14 syn case ignore | 17 syn case ignore |
15 syn match tasmLabel "^[\ \t]*[@a-z_$][a-z0-9_$@]*\ *:" | 18 syn match tasmLabel "^[\ \t]*[@a-z_$][a-z0-9_$@]*\ *:" |
16 syn keyword tasmDirective ALIAS ALIGN ARG ASSUME %BIN CATSRT CODESEG | 19 syn keyword tasmDirective ALIAS ALIGN ARG ASSUME %BIN CATSRT CODESEG |
17 syn match tasmDirective "\<\(byte\|word\|dword\|qword\)\ ptr\>" | 20 syn match tasmDirective "\<\(byte\|word\|dword\|qword\)\ ptr\>" |
118 | 121 |
119 delcommand HiLink | 122 delcommand HiLink |
120 endif | 123 endif |
121 | 124 |
122 let b:curret_syntax = "tasm" | 125 let b:curret_syntax = "tasm" |
126 | |
127 let &cpo = s:cpo_save | |
128 unlet s:cpo_save |