annotate runtime/syntax/prescribe.vim @ 7444:045cd3a3a7ae

Added tag v7.4.1025 for changeset 357b7bd8d6125c81cc5c2be482902cb8bb753751
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jan 2016 15:45:04 +0100
parents 7fd70926e2e1
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
179
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
1 " Vim syntax file
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
2 " Language: Kyocera PreScribe2e
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
3 " Maintainer: Klaus Muth <klaus@hampft.de>
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
4 " URL: http://www.hampft.de/vim/syntax/prescribe.vim
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
5 " Last Change: 2005 Mar 04
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
6
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
7 " For version 5.x: Clear all syntax items
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
8 " For version 6.x: Quit when a syntax file was already loaded
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
9 if version < 600
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
10 syntax clear
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
11 elseif exists("b:current_syntax")
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
12 finish
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
13 endif
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
14
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
15 syn match prescribeSpecial "!R!"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
16
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
17 " all prescribe commands
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
18 syn keyword prescribeStatement ALTF AMCR ARC ASFN ASTK BARC BLK BOX CALL
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
19 syn keyword prescribeStatement CASS CIR CLIP CLPR CLSP COPY CPTH CSET CSTK
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
20 syn keyword prescribeStatement CTXT DAF DAM DAP DELF DELM DPAT DRP DRPA DUPX
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
21 syn keyword prescribeStatement DXPG DXSD DZP ENDD ENDM ENDR EPL EPRM EXIT
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
22 syn keyword prescribeStatement FDIR FILL FLAT FLST FONT FPAT FRPO FSET FTMD
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
23 syn keyword prescribeStatement GPAT ICCD INTL JOG LDFC MAP MCRO MDAT MID
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
24 syn keyword prescribeStatement MLST MRP MRPA MSTK MTYP MZP NEWP PAGE PARC PAT
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
25 syn keyword prescribeStatement PCRP PCZP PDIR RDRP PDZP PELP PIE PMRA PMRP PMZP
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
26 syn keyword prescribeStatement PRBX PRRC PSRC PXPL RDMP RES RSL RGST RPCS RPF
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
27 syn keyword prescribeStatement RPG RPP RPU RTTX RTXT RVCD RVRD SBM SCAP SCCS
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
28 syn keyword prescribeStatement SCF SCG SCP SCPI SCRC SCS SCU SDP SEM SETF SFA
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
29 syn keyword prescribeStatement SFNT SIMG SIR SLJN SLM SLPI SLPP SLS SMLT SPD
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
30 syn keyword prescribeStatement SPL SPLT SPO SPSZ SPW SRM SRO SROP SSTK STAT STRK
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
31 syn keyword prescribeStatement SULP SVCP TATR TEXT TPRS UNIT UOM WIDE WRED XPAT
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
32 syn match prescribeStatement "\<ALTB\s\+[ACDEGRST]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
33 syn match prescribeStatement "\<CPPY\s\+[DE]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
34 syn match prescribeStatement "\<EMCR\s\+[DE]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
35 syn match prescribeStatement "\<FRPO\s\+INIT\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
36 syn match prescribeStatement "\<JOB[DLOPST]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
37 syn match prescribeStatement "\<LDFC\s\+[CFS]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
38 syn match prescribeStatement "\<RWER\s\+[DFILRSTW]\>"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
39
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
40 syn match prescribeCSETArg "[0-9]\{1,3}[A-Z]"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
41 syn match prescribeFRPOArg "[A-Z][0-9]\{1,2}"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
42 syn match prescribeNumber "[0-9]\+"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
43 syn region prescribeString start=+'+ end=+'+ skip=+\\'+
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
44 syn region prescribeComment start=+CMNT+ end=+;+
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
45
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
46 " Define the default highlighting.
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
47 " For version 5.7 and earlier: only when not done already
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
48 " For version 5.8 and later: only when an item doesn't have highlighting yet
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
49 if version >= 508 || !exists("did_prescribe_syn_inits")
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
50 if version < 508
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
51 let did_prescribe_syn_inits = 1
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
52 command -nargs=+ HiLink hi link <args>
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
53 else
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
54 command -nargs=+ HiLink hi def link <args>
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
55 endif
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
56
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
57 HiLink prescribeSpecial PreProc
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
58 HiLink prescribeStatement Statement
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
59 HiLink prescribeNumber Number
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
60 HiLink prescribeCSETArg String
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
61 HiLink prescribeFRPOArg String
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
62 HiLink prescribeComment Comment
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
63
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
64 delcommand HiLink
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
65 endif
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
66
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
67 let b:current_syntax = "prescribe"
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
68
7fd70926e2e1 updated for version 7.0055
vimboss
parents:
diff changeset
69 " vim: ts=8