summaryrefslogtreecommitdiff
path: root/usr/src/lib/libpp/common/pp.key
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libpp/common/pp.key')
-rw-r--r--usr/src/lib/libpp/common/pp.key117
1 files changed, 117 insertions, 0 deletions
diff --git a/usr/src/lib/libpp/common/pp.key b/usr/src/lib/libpp/common/pp.key
new file mode 100644
index 0000000000..36de339f36
--- /dev/null
+++ b/usr/src/lib/libpp/common/pp.key
@@ -0,0 +1,117 @@
+#
+# list of known non-classic keywords
+#
+# @(#)pp.key (AT&T Labs Research) 2000-05-09
+#
+# keyword type alternate comment
+#
+# . either T_<keyword> or T_NOISE
+# GROUP balanced (), optional {} group
+# LINE upto newline
+# STATEMENT upto ;
+# [pre][.[suf]] [pre]<keyword>[suf]
+#
+
+_Bool . . c9x
+_Complex . . c9x
+_Imaginary . . c9x
+__alignof GROUP .__ gnu
+__attribute GROUP .__ gnu
+__extension GROUP .__ gnu
+__null . .__ gnu
+asm GROUP _,__,__.__ common
+const . __,__.__ ansi
+entry . . ancient
+enum . . pcc,ansi
+fortran . _ ancient
+inline . __,__.__ c9x
+int8 . _,__,__.__ common
+int16 . _,__,__.__ common
+int32 . _,__,__.__ common
+int64 . _,__,__.__ common
+restrict . __,__.__ c9x
+signed . __,__.__ ansi
+typeof GROUP __,__.__ gnu
+void . . pcc,ansi
+volatile . __,__.__ ansi
+
+# new C++ keywords -- is any identifier safe?
+
+and . . C++ (no left_parenthesis?)
+and_eq . . C++
+bitand . . C++
+bitor . . C++
+bool . . C++
+catch . . C++
+compl . . C++
+const_cast . . C++
+dynamic_cast . . C++
+explicit . . C++
+false . . C++
+mutable . . C++
+namespace . . C++
+not . . C++
+not_eq . . C++
+or . . C++
+or_eq . . C++
+protected . . C++
+reinterpret_cast . . C++
+static_cast . . C++
+template . . C++
+throw . . C++
+true . . C++
+try . . C++
+typeid . . C++
+using . . C++
+wchar_t . _,__ C++ ughlee and strange
+xor . . C++
+xor_eq . . C++
+
+# these are typically found in pc compilers, but may be in cross compilers
+
+based GROUP _,__ microsoft
+cdecl . _,__ microsoft
+declspec GROUP _,__ microsoft
+except . _,__ microsoft
+export . _,__ microsoft
+far . _,__ microsoft
+fastcall . _,__ microsoft
+finally . _,__ microsoft
+huge . _,__ microsoft
+interrupt . _,__ microsoft
+leave . _,__ microsoft
+loadds . _,__ microsoft
+near . _,__ microsoft
+novtordisp . _,__ microsoft
+oldcall . _,__ microsoft
+pascal . _,__ microsoft
+saveregs . _,__ microsoft
+segment . _,__ microsoft
+segname . _,__ microsoft
+self . _,__ microsoft
+stdcall . _,__ microsoft
+syscall . _,__ microsoft
+try . _,__ microsoft
+
+cs . _,__ turbo
+ds . _,__ turbo
+es . _,__ turbo
+regparam . _,__ turbo
+seg . _,__ turbo
+ss . _,__ turbo
+
+# these must have been a vms edict
+
+align . _,__,__.__ dec
+f_float . _,__,__.__ dec
+g_float . _,__,__.__ dec
+globaldef . _,__,__.__ dec
+globalref . _,__,__.__ dec
+globalvalue . _,__,__.__ dec
+noshare . _,__,__.__ dec
+readonly . _,__,__.__ dec
+s_float . _,__,__.__ dec
+t_float . _,__,__.__ dec
+unaligned . _,__,__.__ dec
+variant_struct . _,__,__.__ dec
+variant_union . _,__,__.__ dec