allow both proc and func in prototype
This commit is contained in:
@@ -16,6 +16,7 @@ keyword_kind :: proc(text: string) -> token.Kind {
|
|||||||
switch text {
|
switch text {
|
||||||
case "test": return .Keyword_Test
|
case "test": return .Keyword_Test
|
||||||
case "func": return .Keyword_Func
|
case "func": return .Keyword_Func
|
||||||
|
case "proc": return .Keyword_Func
|
||||||
case "c_func": return .Keyword_C_Func
|
case "c_func": return .Keyword_C_Func
|
||||||
case "struct": return .Keyword_Struct
|
case "struct": return .Keyword_Struct
|
||||||
case "c_struct": return .Keyword_C_Struct
|
case "c_struct": return .Keyword_C_Struct
|
||||||
|
|||||||
Reference in New Issue
Block a user