2 " Language: purify log files
3 " Maintainer: Gautam H. Mudunuri <gmudunur@informatica.com>
4 " Last Change: 2003 May 11
6 " For version 5.x: Clear all syntax items
7 " For version 6.x: Quit when a syntax file was already loaded
10 elseif exists("b:current_syntax")
15 syn match purifyLogHeader "^\*\*\*\*.*$"
17 " Informational messages
18 syn match purifyLogFIU "^FIU:.*$"
19 syn match purifyLogMAF "^MAF:.*$"
20 syn match purifyLogMIU "^MIU:.*$"
21 syn match purifyLogSIG "^SIG:.*$"
22 syn match purifyLogWPF "^WPF:.*$"
23 syn match purifyLogWPM "^WPM:.*$"
24 syn match purifyLogWPN "^WPN:.*$"
25 syn match purifyLogWPR "^WPR:.*$"
26 syn match purifyLogWPW "^WPW:.*$"
27 syn match purifyLogWPX "^WPX:.*$"
30 syn match purifyLogABR "^ABR:.*$"
31 syn match purifyLogBSR "^BSR:.*$"
32 syn match purifyLogBSW "^BSW:.*$"
33 syn match purifyLogFMR "^FMR:.*$"
34 syn match purifyLogMLK "^MLK:.*$"
35 syn match purifyLogMSE "^MSE:.*$"
36 syn match purifyLogPAR "^PAR:.*$"
37 syn match purifyLogPLK "^PLK:.*$"
38 syn match purifyLogSBR "^SBR:.*$"
39 syn match purifyLogSOF "^SOF:.*$"
40 syn match purifyLogUMC "^UMC:.*$"
41 syn match purifyLogUMR "^UMR:.*$"
44 syn match purifyLogABW "^ABW:.*$"
45 syn match purifyLogBRK "^BRK:.*$"
46 syn match purifyLogFMW "^FMW:.*$"
47 syn match purifyLogFNH "^FNH:.*$"
48 syn match purifyLogFUM "^FUM:.*$"
49 syn match purifyLogMRE "^MRE:.*$"
50 syn match purifyLogSBW "^SBW:.*$"
53 syn match purifyLogCOR "^COR:.*$"
54 syn match purifyLogNPR "^NPR:.*$"
55 syn match purifyLogNPW "^NPW:.*$"
56 syn match purifyLogZPR "^ZPR:.*$"
57 syn match purifyLogZPW "^ZPW:.*$"
59 " Define the default highlighting.
60 " For version 5.7 and earlier: only when not done already
61 " For version 5.8 and later: only when an item doesn't have highlighting yet
62 if version >= 508 || !exists("did_purifyLog_syntax_inits")
64 let did_purifyLog_syntax_inits = 1
65 command -nargs=+ HiLink hi link <args>
67 command -nargs=+ HiLink hi def link <args>
70 HiLink purifyLogFIU purifyLogInformational
71 HiLink purifyLogMAF purifyLogInformational
72 HiLink purifyLogMIU purifyLogInformational
73 HiLink purifyLogSIG purifyLogInformational
74 HiLink purifyLogWPF purifyLogInformational
75 HiLink purifyLogWPM purifyLogInformational
76 HiLink purifyLogWPN purifyLogInformational
77 HiLink purifyLogWPR purifyLogInformational
78 HiLink purifyLogWPW purifyLogInformational
79 HiLink purifyLogWPX purifyLogInformational
81 HiLink purifyLogABR purifyLogWarning
82 HiLink purifyLogBSR purifyLogWarning
83 HiLink purifyLogBSW purifyLogWarning
84 HiLink purifyLogFMR purifyLogWarning
85 HiLink purifyLogMLK purifyLogWarning
86 HiLink purifyLogMSE purifyLogWarning
87 HiLink purifyLogPAR purifyLogWarning
88 HiLink purifyLogPLK purifyLogWarning
89 HiLink purifyLogSBR purifyLogWarning
90 HiLink purifyLogSOF purifyLogWarning
91 HiLink purifyLogUMC purifyLogWarning
92 HiLink purifyLogUMR purifyLogWarning
94 HiLink purifyLogABW purifyLogCorrupting
95 HiLink purifyLogBRK purifyLogCorrupting
96 HiLink purifyLogFMW purifyLogCorrupting
97 HiLink purifyLogFNH purifyLogCorrupting
98 HiLink purifyLogFUM purifyLogCorrupting
99 HiLink purifyLogMRE purifyLogCorrupting
100 HiLink purifyLogSBW purifyLogCorrupting
102 HiLink purifyLogCOR purifyLogFatal
103 HiLink purifyLogNPR purifyLogFatal
104 HiLink purifyLogNPW purifyLogFatal
105 HiLink purifyLogZPR purifyLogFatal
106 HiLink purifyLogZPW purifyLogFatal
108 HiLink purifyLogHeader Comment
109 HiLink purifyLogInformational PreProc
110 HiLink purifyLogWarning Type
111 HiLink purifyLogCorrupting Error
112 HiLink purifyLogFatal Error
117 let b:current_syntax = "purifylog"