Deprecate :; in $if etc.

This commit is contained in:
Christoffer Lerno
2023-03-20 01:03:54 +01:00
parent cc87c77af3
commit 5ee0d52ff1
94 changed files with 680 additions and 655 deletions

View File

@@ -1,14 +1,14 @@
module hello_world;
import std;
import bar;
$if (env::OS_TYPE == OsType.WIN32):
$if (env::OS_TYPE == OsType.WIN32)
fn int test_doubler(int x)
{
return x * x;
}
$else:
$else
extern fn int test_doubler(int);
$endif;
$endif
extern fn void printf(char *, ...);
fn int main()