add f80
This commit is contained in:
parent
63eb5fa8fc
commit
410a2dd6dd
@ -629,19 +629,19 @@ fn allDigits(str: []const u8) bool {
|
|||||||
|
|
||||||
pub fn isTypeIdent(tree: Ast, token_idx: Ast.TokenIndex) bool {
|
pub fn isTypeIdent(tree: Ast, token_idx: Ast.TokenIndex) bool {
|
||||||
const PrimitiveTypes = std.ComptimeStringMap(void, .{
|
const PrimitiveTypes = std.ComptimeStringMap(void, .{
|
||||||
.{"isize"}, .{"usize"},
|
.{"isize"}, .{"usize"},
|
||||||
.{"c_short"}, .{"c_ushort"},
|
.{"c_short"}, .{"c_ushort"},
|
||||||
.{"c_int"}, .{"c_uint"},
|
.{"c_int"}, .{"c_uint"},
|
||||||
.{"c_long"}, .{"c_ulong"},
|
.{"c_long"}, .{"c_ulong"},
|
||||||
.{"c_longlong"}, .{"c_ulonglong"},
|
.{"c_longlong"}, .{"c_ulonglong"},
|
||||||
.{"c_longdouble"}, .{"anyopaque"},
|
.{"c_longdouble"}, .{"anyopaque"},
|
||||||
.{"f16"}, .{"f32"},
|
.{"f16"}, .{"f32"},
|
||||||
.{"f64"}, .{"f128"},
|
.{"f64"}, .{"f80"},
|
||||||
.{"bool"}, .{"void"},
|
.{"f128"}, .{"bool"},
|
||||||
.{"noreturn"}, .{"type"},
|
.{"void"}, .{"noreturn"},
|
||||||
.{"anyerror"}, .{"comptime_int"},
|
.{"type"}, .{"anyerror"},
|
||||||
.{"comptime_float"}, .{"anyframe"},
|
.{"comptime_int"}, .{"comptime_float"},
|
||||||
.{"anytype"},
|
.{"anyframe"}, .{"anytype"},
|
||||||
});
|
});
|
||||||
|
|
||||||
const text = tree.tokenSlice(token_idx);
|
const text = tree.tokenSlice(token_idx);
|
||||||
|
Loading…
Reference in New Issue
Block a user