]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Disable the macros to keep clang happy (just uncomment them for when more constant...
authorDale Weiler <killfieldengine@gmail.com>
Thu, 1 Aug 2013 07:12:21 +0000 (07:12 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 1 Aug 2013 07:12:21 +0000 (07:12 +0000)
fold.c

diff --git a/fold.c b/fold.c
index d0802f4e0288915926814e7653e2f63f9f89538e..52bedaeae467a3a456256460d386f0dc87b19852 100644 (file)
--- a/fold.c
+++ b/fold.c
@@ -603,13 +603,13 @@ ast_expression *fold_op(fold_t *fold, const oper_info *info, ast_expression **op
 #undef fold_can_2
 
 #define isfloat(X)              ((X)->vtype == TYPE_FLOAT)
-#define isstring(X)             ((X)->vtype == TYPE_STRING)
-#define isvector(X)             ((X)->vtype == TYPE_VECTOR)
+/*#define isstring(X)             ((X)->vtype == TYPE_STRING)*/
+/*#define isvector(X)             ((X)->vtype == TYPE_VECTOR)*/
 #define fold_immvalue_float(X)  ((X)->constval.vfloat)
-#define fold_immvalue_vector(X) ((X)->constval.vvec)
-#define fold_immvalue_string(X) ((X)->constval.vstring)
+/*#define fold_immvalue_vector(X) ((X)->constval.vvec)*/
+/*#define fold_immvalue_string(X) ((X)->constval.vstring)*/
 #define fold_can_1(X)           ((X)->hasvalue && (X)->cvq == CV_CONST)
-#define fold_can_2(X,Y)         (fold_can_1(X) && fold_can_1(Y))
+/*#define fold_can_2(X,Y)         (fold_can_1(X) && fold_can_1(Y))*/
 
 
 int fold_cond(ir_value *condval, ast_function *func, ast_ifthen *branch) {