intern identifiers

This commit is contained in:
2026-06-10 21:27:00 +02:00
parent d6e03b6f08
commit cdbe4fbc99
16 changed files with 497 additions and 182 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
package token
import "../source"
import "../symbol"
Kind :: enum {
Invalid,
@@ -34,7 +35,7 @@ Kind :: enum {
Token :: struct {
kind: Kind,
span: source.Span,
text: string,
symbol: symbol.Id,
diagnostic: int,
}