struct types

This commit is contained in:
allexanderbergmns
2026-08-26 12:19:23 +02:00
parent 68b3a3673c
commit 1d829c3ef2
7 changed files with 237 additions and 14 deletions
+4
View File
@@ -121,6 +121,10 @@ fn (mut l Lexer) next() !Tok {
l.advance()
return Tok{ kind: .colon, lit: ':', line: line, col: col }
}
`?` {
l.advance()
return Tok{ kind: .question, lit: '?', line: line, col: col }
}
`+` {
l.advance()
if l.peek() == `=` {