]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Perliminary work on arithmetic exception handling in the constant evaluator. We can...
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index d7e3d7a198cae3df58a8e2c0e0d87372e534e074..5c38fa96ea4819319bef814cf819005d734057b3 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -359,6 +359,7 @@ ast_value* ast_value_new(lex_ctx_t ctx, const char *name, int t)
     self->cvq      = CV_NONE;
     self->hasvalue = false;
     self->isimm    = false;
+    self->inexact  = false;
     self->uses     = 0;
     memset(&self->constval, 0, sizeof(self->constval));
     self->initlist = NULL;