From a8593c00f922da266be77faa8cfe5b2b2cef682d Mon Sep 17 00:00:00 2001 From: hl-valdemar Date: Sat, 25 Jul 2026 00:02:46 +0200 Subject: [PATCH] allow both `proc` and `func` in prototype --- compiler/lexer/lexer.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/lexer/lexer.odin b/compiler/lexer/lexer.odin index 769e0b8..0bb3541 100644 --- a/compiler/lexer/lexer.odin +++ b/compiler/lexer/lexer.odin @@ -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