Complete transition to fn. Introduce global/threadlocal

This commit is contained in:
Christoffer Lerno
2021-11-16 17:19:12 +01:00
committed by Christoffer Lerno
parent e2621617f1
commit b52b42d4da
331 changed files with 1279 additions and 1261 deletions

View File

@@ -1,6 +1,6 @@
module mymodule;
extern func void printf(char *, ...);
extern fn void printf(char *, ...);
errtype HelloErr
{
@@ -12,7 +12,7 @@ errtype ByeErr
BAZ
}
func void test()
fn void test()
{
int! x = ByeErr.BAR!;
@@ -50,7 +50,7 @@ func void test()
printf("None of the above\n");
}
}
func void main()
fn void main()
{
test();
printf("Hello!\n");