Annotation of src/usr.bin/vgrind/vgrindefs.src, Revision 1.3
1.3 ! millert 1: # $OpenBSD: vgrindefs.src,v 1.2 1996/06/26 05:42:33 deraadt Exp $
1.1 deraadt 2: # $NetBSD: vgrindefs.src,v 1.2 1994/11/17 08:28:09 jtc Exp $
3: #
4: # Copyright (c) 1987, 1993
5: # The Regents of the University of California. All rights reserved.
6: #
7: # Redistribution and use in source and binary forms, with or without
8: # modification, are permitted provided that the following conditions
9: # are met:
10: # 1. Redistributions of source code must retain the above copyright
11: # notice, this list of conditions and the following disclaimer.
12: # 2. Redistributions in binary form must reproduce the above copyright
13: # notice, this list of conditions and the following disclaimer in the
14: # documentation and/or other materials provided with the distribution.
1.3 ! millert 15: # 3. Neither the name of the University nor the names of its contributors
1.1 deraadt 16: # may be used to endorse or promote products derived from this software
17: # without specific prior written permission.
18: #
19: # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20: # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21: # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22: # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23: # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24: # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25: # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26: # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27: # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28: # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29: # SUCH DAMAGE.
30: #
31: # @(#)vgrindefs.src 8.1 (Berkeley) 6/6/93
32: #
33:
34: C|c:\
35: :pb=^\d?*?\d?\p\d?\(\a?\)(\d|{):bb={:be=}:cb=/*:ce=*/:sb=":se=\e":lb=':\
36: :le=\e':tl:\
37: :kw=asm auto break case char continue default do double else enum\
38: extern float for fortran goto if int long register return short\
39: sizeof static struct switch typedef union unsigned void while #define\
40: #else #endif #if #ifdef #ifndef #include #undef # define else endif\
41: if ifdef ifndef include undef:
42: model|mod|m:\
43: :pb=^\d(space\d\p\drep)|(\p\dis|inline|public\dbeginproc):\
44: :bb=\dbeginproc|space|case\d:be=\dendproc|end\d|;:\
45: :cb=\$:ce=\$|$:sb=":se=":lb=':le=\a|$:\
46: :kw=abs and array beginproc boolean by case cdnl char copied dispose\
47: div do dynamic else elsif end endproc entry external FALSE false\
48: fi file for formal fortran global if iff ift\
49: in integer include inline is lbnd\
50: max min mod new NIL nil noresult not notin od of or procedure public\
51: read readln readonly record recursive rem rep repeat res\
52: result return set\
53: space string subscript such then TRUE true type ubnd union until\
54: varies while width:
55: pascal|pasc|p:\
56: :pb=(^\d?procedure|function|program\d\p\d|\(|;|\:)|(=\d?record\d):\
57: :bb=\dcase|begin\d:be=\dend|forward\d|;:\
58: :cb={:ce=}:\
59: :ab=\(*:ae=*\):\
60: :sb=':se=':\
61: :kw=and array assert begin case const div do downto else end file for\
62: forward function goto if in label mod nil not of or packed procedure\
63: program record repeat set then to type until var while with oct hex\
64: external:
65: ISP|isp|i:\
66: :cb=!:ce=!|$:oc:\
67: :kw=and begin decode define end eql eqv geq gtr if leave leq lss mod\
68: neq next not or otherwise repeat restart resume sr0 sr1 srd srr sl0 sl1\
69: sld slr tst xor:
70: SH|sh:\
71: :bb={:be=}:cb=#:ce=$:sb=":se=\e":lb=':\
72: :le=\e':tl:\
73: :kw=break case cd continue do done \
74: elif else esac eval exec exit export \
75: fi for if in then while until \
76: read readonly set shift test trap umask wait:
77: CSH|csh:\
78: :bb={:be=}:cb=#:ce=$:sb=":se=\e":lb=':\
79: :le=\e':tl:\
80: :kw=alias alloc break breaksw case cd chdir continue default\
81: echo else end endif endsw exec exit foreach \
82: glob goto history if logout nice nohup onintr repeat set\
83: setenv shift source switch then time \
84: while umask unalias unset wait while @ env \
85: argv child home ignoreeof noclobber noglob \
86: nomatch path prompt shell status verbose :
87: ldl|LDL:\
88: :pb=^\p\::bb=\::be=;:cb=/*:ce=*/:sb=":se=\e":\
89: :kw=constant functions grammar reswords tokens add1 addste\
90: car cdr check colno cond cons copy defun divide empty enter\
91: eq equal findattr firstchild ge getattr getfield gt hash label\
92: lambda lastchild le leftsibling lookone lookup lt minus name ne\
93: newnode nextcom nil null parent plus precnl prevcom prog progn\
94: quote reglob return rightsibling self set setattr setfield setq\
95: stjoin sub1 t times tnull tokno ttype:
96: Icon|icon|I:\
97: :pb=^\d?procedure\d\p\d?\(\a?\):\
98: :bb=(^\d?procedure\d\p\d?\(\a?\))|{:be=}|(^\d?end\d?$):\
99: :cb=#:ce=$:\
100: :sb=":se=\e":lb=':le=\e':tl:\
101: :kw=break by case create default do dynamic else end every external\
102: fail global if initial local next not of procedure record\
103: repeat return static suspend then to until using while\
104: &ascii &clock &cset &date &dateline &errout &fail &host &input\
105: &lcase &level &main &null &output &pos &random &source &subject\
106: &time &trace &ucase &version:
107: ratfor|rat|r:\
108: :pb=(subroutine|function)\d\p\d?\(\a?\):\
109: :bb=(subroutine|function)\d\p\d?\(\a?\):be=^\d?end:\
110: :cb=#:ce=$:\
111: :sb=":se=\e":lb=':le=\e':oc:\
112: :kw=DRETURN DRIVER arith break case character default define do\
113: else elsedef enddef filedes for function goto if ifdef ifelse\
114: ifnotdef include incr integer linepointer next opeq pointer\
115: real repeat return select string subroutine substr until:
116: modula2|mod2|m2:\
117: :pb=(^\d?(procedure|function|module)\d\p\d|\(|;|\:):\
118: :bb=\d(begin|case|for|if|loop|record|repeat|while|with)\d:\
119: :be=\dend|;:\
120: :cb={:ce=}:\
121: :ab=\(*:ae=*\):\
122: :sb=":se=":\
123: :oc:\
124: :kw=and array begin by case const\
125: definition div do else elsif end exit export\
126: for from if implementation import in\
127: loop mod module not of or pointer procedure qualified\
128: record repeat return set then to type\
129: until var while with:
130: yacc|Yacc|y:\
131: :cb=/*:ce=*/:sb=":se=\e":lb=':le=\e':tl:\
132: :kw=%{ %} %% %union %token %type\
133: #else #endif #if #ifdef #ifndef #include #undef # define else endif\
134: if ifdef ifndef include undef:
135: C++|c++:\
136: :pb=^\d?*?\d?\p\d?\(\a?\)(\d|{):bb={:be=}:cb=/*:ce=*/:ab=//:\
137: :ae=$:sb=":se=\e":lb=':\
138: :le=\e':tl:\
139: :kw=asm auto break case char continue default do double else enum\
140: extern float for fortran goto if int long register return short\
141: sizeof static struct switch typedef union unsigned while void #define\
142: #else #endif #if #ifdef #ifndef #include #undef # define endif\
143: ifdef ifndef include undef defined\
144: class const delete friend inline new operator overload private\
145: protected public virtual: