syntax now requires : before type in declarations

This commit is contained in:
uan
2026-02-08 08:40:49 +01:00
parent 7b5eef3bcb
commit 294fbbd69c
3 changed files with 37 additions and 31 deletions

View File

@@ -177,6 +177,7 @@ fn lex(input string) ?[]Token {
right++
if ['#', '\n'].contains(input[right].ascii_str()) {
is_inside_comment = false
right++
}
left = right
}