From a86c7b13a399f1e296a202c414a26ac062cf8b8b Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Sun, 11 Sep 2022 14:32:55 +0600 Subject: [PATCH] docgen: add f80 to builtin types --- doc/docgen.zig | 9 +++++---- src/autodoc/render_source.zig | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/doc/docgen.zig b/doc/docgen.zig index 374a43f32f..1f332e1ee0 100644 --- a/doc/docgen.zig +++ b/doc/docgen.zig @@ -858,10 +858,11 @@ fn termColor(allocator: Allocator, input: []const u8) ![]u8 { } const builtin_types = [_][]const u8{ - "f16", "f32", "f64", "f128", "c_longdouble", "c_short", - "c_ushort", "c_int", "c_uint", "c_long", "c_ulong", "c_longlong", - "c_ulonglong", "c_char", "anyopaque", "void", "bool", "isize", - "usize", "noreturn", "type", "anyerror", "comptime_int", "comptime_float", + "f16", "f32", "f64", "f80", "f128", + "c_longdouble", "c_short", "c_ushort", "c_int", "c_uint", + "c_long", "c_ulong", "c_longlong", "c_ulonglong", "c_char", + "anyopaque", "void", "bool", "isize", "usize", + "noreturn", "type", "anyerror", "comptime_int", "comptime_float", }; fn isType(name: []const u8) bool { diff --git a/src/autodoc/render_source.zig b/src/autodoc/render_source.zig index 01ee8b9f56..4777ba399b 100644 --- a/src/autodoc/render_source.zig +++ b/src/autodoc/render_source.zig @@ -418,10 +418,11 @@ fn writeEscaped(out: anytype, input: []const u8) !void { } const builtin_types = [_][]const u8{ - "f16", "f32", "f64", "f128", "c_longdouble", "c_short", - "c_ushort", "c_int", "c_uint", "c_long", "c_ulong", "c_longlong", - "c_ulonglong", "c_char", "anyopaque", "void", "bool", "isize", - "usize", "noreturn", "type", "anyerror", "comptime_int", "comptime_float", + "f16", "f32", "f64", "f80", "f128", + "c_longdouble", "c_short", "c_ushort", "c_int", "c_uint", + "c_long", "c_ulong", "c_longlong", "c_ulonglong", "c_char", + "anyopaque", "void", "bool", "isize", "usize", + "noreturn", "type", "anyerror", "comptime_int", "comptime_float", }; fn isType(name: []const u8) bool {