Basic when statement - Compile time if statement

This is similar to an #if in C but handled during the semantic checking stage.
This commit is contained in:
Ginger Bill
2016-11-29 22:08:48 +00:00
parent 348bcc3f9a
commit b232b9d5ea
12 changed files with 584 additions and 328 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ Context :: struct #ordered {
#thread_local __context: Context
DEFAULT_ALIGNMENT :: align_of({4}f32)
DEFAULT_ALIGNMENT :: align_of([vector 4]f32)
__check_context :: proc() {