Remove when suffixes; Implement file scope when statement, evaluated in source order

This commit is contained in:
Ginger Bill
2017-09-10 15:17:37 +01:00
parent 85097a9958
commit e6e0aba8c3
12 changed files with 373 additions and 400 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
export "core:sync_windows.odin" when ODIN_OS == "windows";
export "core:sync_linux.odin" when ODIN_OS == "linux";
when ODIN_OS == "windows" do export "core:sync_windows.odin";
when ODIN_OS == "linux" do export "core:sync_linux.odin";