xref: /titanic_41/usr/src/lib/libpp/common/pp.key (revision ed5289f91b9bf164dccd6c75398362be77a4478d)
1#
2# list of known non-classic keywords
3#
4# @(#)pp.key (AT&T Labs Research) 2000-05-09
5#
6# keyword	type		alternate	comment
7#
8#		.				either T_<keyword> or T_NOISE
9#		GROUP				balanced (), optional {} group
10#		LINE				upto newline
11#		STATEMENT			upto ;
12#				[pre][.[suf]]	[pre]<keyword>[suf]
13#
14
15_Bool		.		.		c9x
16_Complex	.		.		c9x
17_Imaginary	.		.		c9x
18__alignof	GROUP		.__		gnu
19__attribute	GROUP		.__		gnu
20__extension	GROUP		.__		gnu
21__null		.		.__		gnu
22asm		GROUP		_,__,__.__	common
23const		.		__,__.__	ansi
24entry		.		.		ancient
25enum		.		.		pcc,ansi
26fortran		.		_		ancient
27inline		.		__,__.__	c9x
28int8		.		_,__,__.__	common
29int16		.		_,__,__.__	common
30int32		.		_,__,__.__	common
31int64		.		_,__,__.__	common
32restrict	.		__,__.__	c9x
33signed		.		__,__.__	ansi
34typeof		GROUP		__,__.__	gnu
35void		.		.		pcc,ansi
36volatile	.		__,__.__	ansi
37
38# new C++ keywords -- is any identifier safe?
39
40and		.		.		C++ (no left_parenthesis?)
41and_eq		.		.		C++
42bitand		.		.		C++
43bitor		.		.		C++
44bool		.		.		C++
45catch		.		.		C++
46compl		.		.		C++
47const_cast	.		.		C++
48dynamic_cast	.		.		C++
49explicit	.		.		C++
50false		.		.		C++
51mutable		.		.		C++
52namespace	.		.		C++
53not		.		.		C++
54not_eq		.		.		C++
55or		.		.		C++
56or_eq		.		.		C++
57protected	.		.		C++
58reinterpret_cast	.	.		C++
59static_cast	.		.		C++
60template	.		.		C++
61throw		.		.		C++
62true		.		.		C++
63try		.		.		C++
64typeid		.		.		C++
65using		.		.		C++
66wchar_t		.		_,__		C++ ughlee and strange
67xor		.		.		C++
68xor_eq		.		.		C++
69
70# these are typically found in pc compilers, but may be in cross compilers
71
72based		GROUP		_,__		microsoft
73cdecl		.		_,__		microsoft
74declspec	GROUP		_,__		microsoft
75except		.		_,__		microsoft
76export		.		_,__		microsoft
77far		.		_,__		microsoft
78fastcall	.		_,__		microsoft
79finally		.		_,__		microsoft
80huge		.		_,__		microsoft
81interrupt	.		_,__		microsoft
82leave		.		_,__		microsoft
83loadds		.		_,__		microsoft
84near		.		_,__		microsoft
85novtordisp	.		_,__		microsoft
86oldcall		.		_,__		microsoft
87pascal		.		_,__		microsoft
88saveregs	.		_,__		microsoft
89segment		.		_,__		microsoft
90segname		.		_,__		microsoft
91self		.		_,__		microsoft
92stdcall		.		_,__		microsoft
93syscall		.		_,__		microsoft
94try		.		_,__		microsoft
95
96cs		.		_,__		turbo
97ds		.		_,__		turbo
98es		.		_,__		turbo
99regparam	.		_,__		turbo
100seg		.		_,__		turbo
101ss		.		_,__		turbo
102
103# these must have been a vms edict
104
105align		.		_,__,__.__	dec
106f_float		.		_,__,__.__	dec
107g_float		.		_,__,__.__	dec
108globaldef	.		_,__,__.__	dec
109globalref	.		_,__,__.__	dec
110globalvalue	.		_,__,__.__	dec
111noshare		.		_,__,__.__	dec
112readonly	.		_,__,__.__	dec
113s_float		.		_,__,__.__	dec
114t_float		.		_,__,__.__	dec
115unaligned	.		_,__,__.__	dec
116variant_struct	.		_,__,__.__	dec
117variant_union	.		_,__,__.__	dec
118