blob: cd5ddbeedd1a9226af9e953b8973ddfab4009865 [file] [log] [blame]
Bram Moolenaar19a09a12005-03-04 23:39:37 +00001" Vim syntax file
2" Language: Kyocera PreScribe2e
3" Maintainer: Klaus Muth <klaus@hampft.de>
4" URL: http://www.hampft.de/vim/syntax/prescribe.vim
5" Last Change: 2005 Mar 04
6
Bram Moolenaar89bcfda2016-08-30 23:26:57 +02007" quit when a syntax file was already loaded
8if exists("b:current_syntax")
Bram Moolenaar19a09a12005-03-04 23:39:37 +00009 finish
10endif
11
12syn match prescribeSpecial "!R!"
13
14" all prescribe commands
15syn keyword prescribeStatement ALTF AMCR ARC ASFN ASTK BARC BLK BOX CALL
16syn keyword prescribeStatement CASS CIR CLIP CLPR CLSP COPY CPTH CSET CSTK
17syn keyword prescribeStatement CTXT DAF DAM DAP DELF DELM DPAT DRP DRPA DUPX
18syn keyword prescribeStatement DXPG DXSD DZP ENDD ENDM ENDR EPL EPRM EXIT
19syn keyword prescribeStatement FDIR FILL FLAT FLST FONT FPAT FRPO FSET FTMD
20syn keyword prescribeStatement GPAT ICCD INTL JOG LDFC MAP MCRO MDAT MID
21syn keyword prescribeStatement MLST MRP MRPA MSTK MTYP MZP NEWP PAGE PARC PAT
22syn keyword prescribeStatement PCRP PCZP PDIR RDRP PDZP PELP PIE PMRA PMRP PMZP
23syn keyword prescribeStatement PRBX PRRC PSRC PXPL RDMP RES RSL RGST RPCS RPF
24syn keyword prescribeStatement RPG RPP RPU RTTX RTXT RVCD RVRD SBM SCAP SCCS
25syn keyword prescribeStatement SCF SCG SCP SCPI SCRC SCS SCU SDP SEM SETF SFA
26syn keyword prescribeStatement SFNT SIMG SIR SLJN SLM SLPI SLPP SLS SMLT SPD
27syn keyword prescribeStatement SPL SPLT SPO SPSZ SPW SRM SRO SROP SSTK STAT STRK
28syn keyword prescribeStatement SULP SVCP TATR TEXT TPRS UNIT UOM WIDE WRED XPAT
29syn match prescribeStatement "\<ALTB\s\+[ACDEGRST]\>"
30syn match prescribeStatement "\<CPPY\s\+[DE]\>"
31syn match prescribeStatement "\<EMCR\s\+[DE]\>"
32syn match prescribeStatement "\<FRPO\s\+INIT\>"
33syn match prescribeStatement "\<JOB[DLOPST]\>"
34syn match prescribeStatement "\<LDFC\s\+[CFS]\>"
35syn match prescribeStatement "\<RWER\s\+[DFILRSTW]\>"
36
37syn match prescribeCSETArg "[0-9]\{1,3}[A-Z]"
38syn match prescribeFRPOArg "[A-Z][0-9]\{1,2}"
39syn match prescribeNumber "[0-9]\+"
40syn region prescribeString start=+'+ end=+'+ skip=+\\'+
41syn region prescribeComment start=+CMNT+ end=+;+
42
43" Define the default highlighting.
Bram Moolenaar89bcfda2016-08-30 23:26:57 +020044" Only when an item doesn't have highlighting yet
Bram Moolenaar19a09a12005-03-04 23:39:37 +000045
Bram Moolenaarf37506f2016-08-31 22:22:10 +020046hi def link prescribeSpecial PreProc
47hi def link prescribeStatement Statement
48hi def link prescribeNumber Number
49hi def link prescribeCSETArg String
50hi def link prescribeFRPOArg String
51hi def link prescribeComment Comment
Bram Moolenaar19a09a12005-03-04 23:39:37 +000052
Bram Moolenaar19a09a12005-03-04 23:39:37 +000053
54let b:current_syntax = "prescribe"
55
56" vim: ts=8