tuples
This commit is contained in:
@@ -30,6 +30,8 @@ pub const Tag = enum {
|
||||
kw_Type, // Type (metatype keyword)
|
||||
kw_null, // null
|
||||
kw_push, // push
|
||||
kw_ufcs, // ufcs
|
||||
kw_in, // in
|
||||
|
||||
// Symbols
|
||||
colon, // :
|
||||
@@ -181,6 +183,8 @@ pub const keywords = std.StaticStringMap(Tag).initComptime(.{
|
||||
.{ "Type", .kw_Type },
|
||||
.{ "null", .kw_null },
|
||||
.{ "push", .kw_push },
|
||||
.{ "ufcs", .kw_ufcs },
|
||||
.{ "in", .kw_in },
|
||||
});
|
||||
|
||||
pub fn getKeyword(bytes: []const u8) ?Tag {
|
||||
|
||||
Reference in New Issue
Block a user