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