motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 3ae04ed949a68189950ae46f714a135b471f0bca (tree)
parent a9c005e0e48cb88467b97dcdc9a25dbf7a5a5b4b
Author: Jacob Young <jacobly0@users.noreply.github.com>
Date:   Wed, 16 Nov 2022 01:26:09 -0500

cbe: fix identifiers colliding with the short keyword

Diffstat:
Msrc/codegen/c.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/codegen/c.zig b/src/codegen/c.zig @@ -176,7 +176,7 @@ const reserved_idents = std.ComptimeStringMap(void, .{ .{ "register", {} }, .{ "restrict", {} }, .{ "return", {} }, - .{ "short ", {} }, + .{ "short", {} }, .{ "signed", {} }, .{ "size_t", {} }, .{ "sizeof", {} },