annotate runtime/syntax/nastran.vim @ 3466:e34c620007be v7.3.497

updated for version 7.3.497 Problem: Crash when doing ":python print" and compiled with gcc and the optimizer enabled. Solution: Avoid the crash, doesn't really fix the problem. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Fri, 20 Apr 2012 13:31:21 +0200
parents 3fc0f57ecb91
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: NASTRAN input/DMAP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Tom Kowalski <trk@schaefferas.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last change: April 27, 2001
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Thanks to the authors and maintainers of fortran.vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Since DMAP shares some traits with fortran, this syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " is based on the fortran.vim syntax file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 "----------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " Remove any old syntax stuff hanging around
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "syn clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 if version < 600
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 syntax clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 elseif exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " DMAP is not case dependent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 "--------------------DMAP SYNTAX---------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " -------Executive Modules and Statements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn keyword nastranDmapexecmod call dbview delete end equiv equivx exit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn keyword nastranDmapexecmod file message purge purgex return subdmap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn keyword nastranDmapType type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn keyword nastranDmapLabel go to goto
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn keyword nastranDmapRepeat if else elseif endif then
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn keyword nastranDmapRepeat do while
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn region nastranDmapString start=+"+ end=+"+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn region nastranDmapString start=+'+ end=+'+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 " If you don't like initial tabs in dmap (or at all)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 "syn match nastranDmapIniTab "^\t.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 "syn match nastranDmapTab "\t"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 " Any integer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match nastranDmapNumber "-\=\<[0-9]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " floating point number, with dot, optional exponent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match nastranDmapFloat "\<[0-9]\+\.[0-9]*\([edED][-+]\=[0-9]\+\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 " floating point number, starting with a dot, optional exponent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match nastranDmapFloat "\.[0-9]\+\([edED][-+]\=[0-9]\+\)\=\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 " floating point number, without dot, with exponent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match nastranDmapFloat "\<[0-9]\+[edED][-+]\=[0-9]\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match nastranDmapLogical "\(true\|false\)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match nastranDmapPreCondit "^#define\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match nastranDmapPreCondit "^#include\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " -------Comments may be contained in another line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match nastranDmapComment "^[\$].*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match nastranDmapComment "\$.*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match nastranDmapComment "^[\$].*$" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match nastranDmapComment "\$.*$" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 " Treat all past 72nd column as a comment. Do not work with tabs!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 " Breaks down when 72-73rd column is in another match (eg number or keyword)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match nastranDmapComment "^.\{-72}.*$"lc=72 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " -------Utility Modules
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn keyword nastranDmapUtilmod append copy dbc dbdict dbdir dmin drms1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword nastranDmapUtilmod dtiin eltprt ifp ifp1 inputt2 inputt4 lamx
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn keyword nastranDmapUtilmod matgen matgpr matmod matpch matprn matprt
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn keyword nastranDmapUtilmod modtrl mtrxin ofp output2 output4 param
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn keyword nastranDmapUtilmod paraml paramr prtparam pvt scalar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword nastranDmapUtilmod seqp setval tabedit tabprt tabpt vec vecplot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword nastranDmapUtilmod xsort
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 " -------Matrix Modules
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword nastranDmapMatmod add add5 cead dcmp decomp diagonal fbs merge
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword nastranDmapMatmod mpyad norm read reigl smpyad solve solvit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn keyword nastranDmapMatmod trnsp umerge umerge1 upartn dmiin partn
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn region nastranDmapMatmod start=+^ *[Dd][Mm][Ii]+ end=+[\/]+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 " -------Implicit Functions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn keyword nastranDmapImplicit abs acos acosh andl asin asinh atan atan2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 syn keyword nastranDmapImplicit atanh atanh2 char clen clock cmplx concat1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword nastranDmapImplicit concat2 concat3 conjg cos cosh dble diagoff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 syn keyword nastranDmapImplicit diagon dim dlablank dlxblank dprod eqvl exp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 syn keyword nastranDmapImplicit getdiag getsys ichar imag impl index indexstr
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn keyword nastranDmapImplicit int itol leq lge lgt lle llt lne log log10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn keyword nastranDmapImplicit logx ltoi mcgetsys mcputsys max min mod neqvl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 syn keyword nastranDmapImplicit nint noop normal notl numeq numge numgt numle
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 syn keyword nastranDmapImplicit numlt numne orl pi precison putdiag putsys
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword nastranDmapImplicit rand rdiagon real rtimtogo setcore sign sin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword nastranDmapImplicit sinh sngl sprod sqrt substrin tan tanh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn keyword nastranDmapImplicit timetogo wlen xorl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 "--------------------INPUT FILE SYNTAX---------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 " -------Nastran Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn keyword nastranNastranCard nastran
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 " -------The File Management Section (FMS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 syn region nastranFMSCard start=+^ *[Aa][Cc][Qq][Uu][Ii]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn region nastranFMSCard start=+^ *[Aa][Ss][Ss][Ii][Gg]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn region nastranFMSCard start=+^ *[Cc][oO][Nn][Nn][Ee]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 syn region nastranFMSCard start=+^ *[Dd][Bb][Cc][Ll][Ee]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 syn region nastranFMSCard start=+^ *[Dd][Bb][Dd][Ii][Cc]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn region nastranFMSCard start=+^ *[Dd][Bb][Dd][Ii][Rr]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn region nastranFMSCard start=+^ *[Dd][Bb][Ff][Ii][Xx]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 syn region nastranFMSCard start=+^ *[Dd][Bb][Ll][Oo][Aa]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn region nastranFMSCard start=+^ *[Dd][Bb][Ll][Oo][Cc]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn region nastranFMSCard start=+^ *[Dd][Bb][Ss][Ee][Tt]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn region nastranFMSCard start=+^ *[Dd][Bb][Uu][Nn][Ll]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn region nastranFMSCard start=+^ *[Dd][Bb][Uu][Pp][Dd]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 syn region nastranFMSCard start=+^ *[Dd][Ee][Ff][Ii][Nn]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 syn region nastranFMSCard start=+^ *[Ee][Nn][Dd][Jj][Oo]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn region nastranFMSCard start=+^ *[Ee][Xx][Pp][Aa][Nn]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn region nastranFMSCard start=+^ *[Ii][Nn][Cc][Ll][Uu]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn region nastranFMSCard start=+^ *[Ii][Nn][Ii][Tt]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn region nastranFMSCard start=+^ *[Pp][Rr][Oo][Jj]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn region nastranFMSCard start=+^ *[Rr][Ee][Ss][Tt]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match nastranDmapUtilmod "^ *[Rr][Ee][Ss][Tt][Aa].*,.*," contains=nastranDmapComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 " -------Executive Control Section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn region nastranECSCard start=+^ *[Aa][Ll][Tt][Ee][Rr]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn region nastranECSCard start=+^ *[Aa][Pp][Pp]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn region nastranECSCard start=+^ *[Cc][Oo][Mm][Pp][Ii]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn region nastranECSCard start=+^ *[Dd][Ii][Aa][Gg] + end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 syn region nastranECSCard start=+^ *[Ee][Cc][Hh][Oo]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn region nastranECSCard start=+^ *[Ee][Nn][Dd][Aa][Ll]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn region nastranECSCard start=+^ *[Ii][Dd]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn region nastranECSCard start=+^ *[Ii][Nn][Cc][Ll][Uu]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn region nastranECSCard start=+^ *[Ll][Ii][Nn][Kk]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn region nastranECSCard start=+^ *[Mm][Aa][Ll][Tt][Ee]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn region nastranECSCard start=+^ *[Ss][Oo][Ll] + end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn region nastranECSCard start=+^ *[Tt][Ii][Mm][Ee]+ end=+$+ oneline
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 " -------Delimiters
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn match nastranDelimiter "[Cc][Ee][Nn][Dd]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match nastranDelimiter "[Bb][Ee][Gg][Ii][Nn]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142 syn match nastranDelimiter " *[Bb][Uu][Ll][Kk]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 syn match nastranDelimiter "[Ee][Nn][Dd] *[dD][Aa][Tt][Aa]" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 " -------Case Control section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn region nastranCC start=+^ *[Cc][Ee][Nn][Dd]+ end=+^ *[Bb][Ee][Gg][Ii][Nn]+ contains=nastranDelimiter,nastranBulkData,nastranDmapComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 " -------Bulk Data section
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 syn region nastranBulkData start=+ *[Bb][Uu][Ll][Kk] *$+ end=+^ [Ee][Nn][Dd] *[Dd]+ contains=nastranDelimiter,nastranDmapComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 " -------The following cards may appear in multiple sections of the file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 syn keyword nastranUtilCard ECHOON ECHOOFF INCLUDE PARAM
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 if version >= 508 || !exists("did_nastran_syntax_inits")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 if version < 508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 let did_nastran_syntax_inits = 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 command -nargs=+ HiLink hi link <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 " The default methods for highlighting. Can be overridden later
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 HiLink nastranDmapexecmod Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 HiLink nastranDmapType Type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 HiLink nastranDmapPreCondit Error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 HiLink nastranDmapUtilmod PreProc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 HiLink nastranDmapMatmod nastranDmapUtilmod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 HiLink nastranDmapString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 HiLink nastranDmapNumber Constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 HiLink nastranDmapFloat nastranDmapNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 HiLink nastranDmapInitTab nastranDmapNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 HiLink nastranDmapTab nastranDmapNumber
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 HiLink nastranDmapLogical nastranDmapExecmod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 HiLink nastranDmapImplicit Identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 HiLink nastranDmapComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 HiLink nastranDmapRepeat nastranDmapexecmod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 HiLink nastranNastranCard nastranDmapPreCondit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 HiLink nastranECSCard nastranDmapUtilmod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 HiLink nastranFMSCard nastranNastranCard
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 HiLink nastranCC nastranDmapexecmod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 HiLink nastranDelimiter Special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 HiLink nastranBulkData nastranDmapType
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 HiLink nastranUtilCard nastranDmapexecmod
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 delcommand HiLink
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 let b:current_syntax = "nastran"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 "EOF vim: ts=8 noet tw=120 sw=8 sts=0