allocator interface (first pass)
This commit is contained in:
@@ -18,6 +18,7 @@ keyword_kind :: proc(text: string) -> token.Kind {
|
||||
case "c_func": return .Keyword_C_Func
|
||||
case "struct": return .Keyword_Struct
|
||||
case "c_struct": return .Keyword_C_Struct
|
||||
case "opaque": return .Keyword_Opaque
|
||||
case "union": return .Keyword_Union
|
||||
case "enum": return .Keyword_Enum
|
||||
case "distinct": return .Keyword_Distinct
|
||||
@@ -44,6 +45,7 @@ keyword_kind :: proc(text: string) -> token.Kind {
|
||||
case "true": return .Keyword_True
|
||||
case "false": return .Keyword_False
|
||||
case "void": return .Keyword_Void
|
||||
case "anyopaque": return .Keyword_Anyopaque
|
||||
case "bool": return .Keyword_Bool
|
||||
case "int": return .Keyword_Int
|
||||
case "float": return .Keyword_Float
|
||||
|
||||
Reference in New Issue
Block a user