allow keywords as values in enums (and tagged unions)

This commit is contained in:
2026-07-13 17:51:59 +02:00
parent de56dc7315
commit 5a958d9bfd
5 changed files with 156 additions and 18 deletions
+1
View File
@@ -105,6 +105,7 @@ lex :: proc(
) -> token.Stream {
stream: token.Stream
stream.items.allocator = allocator
stream.symbols = symbols
bytes := transmute([]byte)source_file.text
cursor := 0