break and continue in loops

This commit is contained in:
2026-06-26 23:43:57 +02:00
parent f926bbc605
commit 81ae939bf0
11 changed files with 314 additions and 12 deletions
+2
View File
@@ -32,6 +32,8 @@ keyword_kind :: proc(text: string) -> token.Kind {
case "if": return .Keyword_If
case "while": return .Keyword_While
case "for": return .Keyword_For
case "break": return .Keyword_Break
case "continue": return .Keyword_Continue
case "else": return .Keyword_Else
case "true": return .Keyword_True
case "false": return .Keyword_False