aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-11-16 01:26:09 -0500
committerJacob Young <jacobly0@users.noreply.github.com>2022-11-16 01:26:37 -0500
commit3ae04ed949a68189950ae46f714a135b471f0bca (patch)
treeb2519e10b1a64344f65abe0b7d627cd964b1296b /src/codegen
parenta9c005e0e48cb88467b97dcdc9a25dbf7a5a5b4b (diff)
downloadzig-3ae04ed949a68189950ae46f714a135b471f0bca.tar.gz
zig-3ae04ed949a68189950ae46f714a135b471f0bca.zip
cbe: fix identifiers colliding with the short keyword
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/c.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/c.zig b/src/codegen/c.zig
index e7dadf6df2..736eb02973 100644
--- 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", {} },