Support "typedef"

This commit is contained in:
Christoffer Lerno
2023-02-14 16:36:48 +01:00
committed by Christoffer Lerno
parent b7e19b75d0
commit df77b692d6
99 changed files with 468 additions and 441 deletions

View File

@@ -1,7 +1,7 @@
define Func = fn int(int);
typedef Func = fn int(int);
define Func2 = fn int(Foo*, int);
typedef Func2 = fn int(Foo*, int);
struct Foo
{

View File

@@ -1,4 +1,4 @@
define Foo = int[0]; // #error: An array may not have zero
typedef Foo = int[0]; // #error: An array may not have zero
struct Bar
{