386BSD 0.0 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sat, 2 Sep 1989 04:49:00 +0000 (20:49 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sat, 2 Sep 1989 04:49:00 +0000 (20:49 -0800)
Work on file usr/src/usr.bin/g++/cc1plus/cplus-parse.h

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.0/src

usr/src/usr.bin/g++/cc1plus/cplus-parse.h [new file with mode: 0644]

diff --git a/usr/src/usr.bin/g++/cc1plus/cplus-parse.h b/usr/src/usr.bin/g++/cc1plus/cplus-parse.h
new file mode 100644 (file)
index 0000000..edfe663
--- /dev/null
@@ -0,0 +1,64 @@
+/* Define constants for communication with parse.y.
+   Copyright (C) 1987 Free Software Foundation, Inc.
+   Hacked by Michael Tiemann (tiemann@mcc.com)
+
+This file is part of GNU CC.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY.  No author or distributor
+accepts responsibility to anyone for the consequences of using it
+or for whether it serves any particular purpose or works at all,
+unless he says so in writing.  Refer to the GNU CC General Public
+License for full details.
+
+Everyone is granted permission to copy, modify and redistribute
+GNU CC, but only under the conditions described in the
+GNU CC General Public License.   A copy of this license is
+supposed to have been given to you along with GNU CC so you
+can know your rights and responsibilities.  It should be in a
+file named COPYING.  Among other things, the copyright notice
+and this notice must be preserved on all copies.  */
+
+
+
+enum rid
+{
+  RID_UNUSED,
+  RID_INT,
+  RID_CHAR,
+  RID_FLOAT,
+  RID_DOUBLE,
+  RID_VOID,
+  RID_UNUSED1,
+
+  /* C++ extension */
+  RID_CLASS,
+  RID_RECORD,
+  RID_UNION,
+  RID_ENUM,
+  RID_LONGLONG,
+
+  RID_UNSIGNED,
+  RID_SHORT,
+  RID_LONG,
+  RID_AUTO,
+  RID_STATIC,
+  RID_EXTERN,
+  RID_REGISTER,
+  RID_TYPEDEF,
+  RID_SIGNED,
+  RID_CONST,
+  RID_VOLATILE,
+  RID_INLINE,
+  RID_NOALIAS,
+
+  /* extensions */
+  RID_FRIEND,
+  RID_VIRTUAL,
+  RID_EXCEPTION,
+  RID_RAISES,
+
+  RID_MAX,
+};
+
+#define RID_FIRST_MODIFIER RID_UNSIGNED