aboutsummaryrefslogtreecommitdiff
path: root/src/exact_value.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-11-29 22:08:48 +0000
committerGinger Bill <bill@gingerbill.org>2016-11-29 22:08:48 +0000
commitb232b9d5ea23fdd4d53f8e93cdfeb1f962811331 (patch)
tree6b4fbe56bf1fc7e7929104790cfb05b42b5f4071 /src/exact_value.c
parent348bcc3f9a1375ddf24b952fad537b5c84e84053 (diff)
Basic `when` statement - Compile time if statement
This is similar to an #if in C but handled during the semantic checking stage.
Diffstat (limited to 'src/exact_value.c')
-rw-r--r--src/exact_value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exact_value.c b/src/exact_value.c
index d220cac61..5167e76d9 100644
--- a/src/exact_value.c
+++ b/src/exact_value.c
@@ -21,7 +21,7 @@ typedef enum ExactValueKind {
typedef struct ExactValue {
ExactValueKind kind;
union {
- bool value_bool;
+ bool value_bool;
String value_string;
i64 value_integer; // NOTE(bill): This must be an integer and not a pointer
f64 value_float;