aboutsummaryrefslogtreecommitdiff
path: root/src/js_lexer.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/js_lexer.zig')
-rw-r--r--src/js_lexer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig
index 2cf2af086..d96942f95 100644
--- a/src/js_lexer.zig
+++ b/src/js_lexer.zig
@@ -92,7 +92,7 @@ fn NewLexer_(
const is_json = json_options.is_json;
const json = json_options;
const JSONBool = if (is_json) bool else void;
- const JSONBoolDefault: JSONBool = if (is_json) true else void{};
+ const JSONBoolDefault: JSONBool = if (is_json) true else {};
pub const Error = error{
UTF8Fail,