]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
Make ** RIGHT associative
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 6ccc555e3c7f34146b36f0e275c0624469f0e322..2cc0864126451a10d4d13b7fa6328ca654c2f0e6 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -1118,13 +1118,13 @@ enum {
 # define GMQCC_TYPE_FLAGS
 # define GMQCC_DEFINE_FLAG(X) X,
 #  include "opts.def"
-    COUNT_FLAGS,
+    COUNT_FLAGS
 };
 static const opts_flag_def opts_flag_list[] = {
 # define GMQCC_TYPE_FLAGS
 # define GMQCC_DEFINE_FLAG(X) { #X, LONGBIT(X) },
 #  include "opts.def"
-    { NULL, LONGBIT(0)}
+    { NULL, LONGBIT(0) }
 };
 
 enum {
@@ -1192,6 +1192,7 @@ typedef struct {
     uint32_t     warn_backup  [1 + (COUNT_WARNINGS      / 32)];
     uint32_t     werror_backup[1 + (COUNT_WARNINGS      / 32)];
     uint32_t     optimization [1 + (COUNT_OPTIMIZATIONS / 32)];
+    bool         optimizeoff; /* True when -O0 */
 } opts_cmd_t;
 
 extern opts_cmd_t opts;