allow both proc and func in prototype

This commit is contained in:
2026-07-25 00:02:46 +02:00
parent 96275121be
commit a8593c00f9
+1
View File
@@ -16,6 +16,7 @@ keyword_kind :: proc(text: string) -> token.Kind {
switch text {
case "test": return .Keyword_Test
case "func": return .Keyword_Func
case "proc": return .Keyword_Func
case "c_func": return .Keyword_C_Func
case "struct": return .Keyword_Struct
case "c_struct": return .Keyword_C_Struct