This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Start moving toplev options to opts.c
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: Neil Booth <neil at daikokuya dot co dot uk>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 14 Jun 2003 17:27:46 +0200
- Subject: Re: Start moving toplev options to opts.c
Hi,
@@ -37,8 +37,14 @@ extern const unsigned int cl_options_cou
#define CL_OBJC (1 << 1) /* Only ObjC. */
#define CL_CXX (1 << 2) /* Only C++. */
#define CL_OBJCXX (1 << 3) /* Only ObjC++. */
-#define CL_JOINED (1 << 4) /* If takes joined argument. */
-#define CL_SEPARATE (1 << 5) /* If takes a separate argument. */
-#define CL_REJECT_NEGATIVE (1 << 6) /* Reject no- form. */
+#define CL_F77 (1 << 4) /* Only Fortran. */
+#define CL_JAVA (1 << 5) /* Only Java. */
+#define CL_ADA (1 << 6) /* Only Ada. */
+#define CL_TREELANG (1 << 7) /* Only Treelang. */
+#define CL_COMMON (1 << 8) /* Language-independent. */
+
+#define CL_JOINED (1 << 24) /* If takes joined argument. */
+#define CL_SEPARATE (1 << 25) /* If takes a separate argument. */
+#define CL_REJECT_NEGATIVE (1 << 26) /* Reject no- form. */
Purely cosmetic:
Can't you put CL_COMMON at the head or the tail of the list?
When I want to add CL_F95, it looks kind of strange to first
have lots of front ends, than CL_COMMON, and then yet more
front ends:
+#define CL_ADA (1 << 6) /* Only Ada. */
+#define CL_TREELANG (1 << 7) /* Only Treelang. */
+#define CL_COMMON (1 << 8) /* Language-independent. */
+#define CL_F95 (1 << 9) /* Only Fortran 95. */
Gr.
Steven