c variadic calls

This commit is contained in:
2026-06-14 15:53:45 +02:00
parent 638ca57f5c
commit 2d3d0bd266
21 changed files with 409 additions and 35 deletions
+6 -1
View File
@@ -119,7 +119,12 @@ lex :: proc(
cursor += 1
if cursor < len(bytes) && bytes[cursor] == '.' {
cursor += 1
append_token(&stream, source_file, .Range, start, cursor)
if cursor < len(bytes) && bytes[cursor] == '.' {
cursor += 1
append_token(&stream, source_file, .Ellipsis, start, cursor)
} else {
append_token(&stream, source_file, .Range, start, cursor)
}
} else {
append_token(&stream, source_file, .Dot, start, cursor)
}