mirror of
https://github.com/bearlanguageorg/bear.git
synced 2026-08-26 16:07:01 +00:00
struct types
This commit is contained in:
@@ -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() == `=` {
|
||||
|
||||
Reference in New Issue
Block a user