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

@@ -4,7 +4,7 @@ struct Foo
int y;
}
define Foo = float; // #error: shadow a previous declaration
typedef Foo = float; // #error: shadow a previous declaration
enum Bar
{
@@ -12,4 +12,4 @@ enum Bar
TEST2
}
define Bar = float; // #error: shadow a previous declaration
typedef Bar = float; // #error: shadow a previous declaration