aboutsummaryrefslogtreecommitdiff
path: root/src/js_lexer_tables.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-09 05:39:05 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-04-09 05:39:05 -0700
commit7bd6a1f86d99c1374cb1eb15ff263dc352a8837b (patch)
tree6b7646d6bf34ca83844f713b3be671dc71a40b37 /src/js_lexer_tables.zig
parent1e717dd941090b5c52f36445f3a53d41e1bc7894 (diff)
downloadbun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.gz
bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.tar.zst
bun-7bd6a1f86d99c1374cb1eb15ff263dc352a8837b.zip
Remove usages of `void{}` in favor of `{}`
See https://github.com/ziglang/zig/issues/15213
Diffstat (limited to 'src/js_lexer_tables.zig')
-rw-r--r--src/js_lexer_tables.zig18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/js_lexer_tables.zig b/src/js_lexer_tables.zig
index b9ad473f8..8fe95a754 100644
--- a/src/js_lexer_tables.zig
+++ b/src/js_lexer_tables.zig
@@ -193,15 +193,15 @@ pub const Keywords = ComptimeStringMap(T, .{
});
pub const StrictModeReservedWords = ComptimeStringMap(void, .{
- .{ "implements", void{} },
- .{ "interface", void{} },
- .{ "let", void{} },
- .{ "package", void{} },
- .{ "private", void{} },
- .{ "protected", void{} },
- .{ "public", void{} },
- .{ "static", void{} },
- .{ "yield", void{} },
+ .{ "implements", {} },
+ .{ "interface", {} },
+ .{ "let", {} },
+ .{ "package", {} },
+ .{ "private", {} },
+ .{ "protected", {} },
+ .{ "public", {} },
+ .{ "static", {} },
+ .{ "yield", {} },
});
pub const StrictModeReservedWordsRemap = ComptimeStringMap(string, .{