Enums working

This commit is contained in:
Krzosa Karol
2022-06-10 19:41:10 +02:00
parent 43fe057cf4
commit 70255c18cb
4 changed files with 27 additions and 37 deletions

View File

@@ -1,20 +1,4 @@
Thing :: struct
len: S64
Constant_String :: "Test"
Constant :: 10
Thing_Kind :: enum
None
Thing_Not
test_string := Thing.Constant_String
thing: Thing
access := thing.len
test := Thing.Thing_Kind.Thing_Not
test_const := Thing.Constant
Allocator_Kind :: enum
Null
Arena