]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Constant folding for strings
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index dd7c5c1eadcfa12b3640a880de3a89f65245a30f..5b556e1be52912e44a554c1b4e99a4d059b3097b 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012, 2013, 2014
+ * Copyright (C) 2012, 2013, 2014, 2015
  *     Wolfgang Bumiller
  *     Dale Weiler
  *
@@ -216,6 +216,7 @@ struct ast_value_s
     bool isfield; /* this declares a field */
     bool isimm;   /* an immediate, not just const */
     bool hasvalue;
+    bool inexact; /* inexact coming from folded expression */
     basic_value_t constval;
     /* for TYPE_ARRAY we have an optional vector
      * of constants when an initializer list