aboutsummaryrefslogtreecommitdiff
path: root/src/js_ast.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/js_ast.zig')
-rw-r--r--src/js_ast.zig7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/js_ast.zig b/src/js_ast.zig
index 902028de3..d203586fb 100644
--- a/src/js_ast.zig
+++ b/src/js_ast.zig
@@ -7780,9 +7780,7 @@ pub const Macro = struct {
return Expr.init(E.String, E.String.empty, this.caller.loc);
},
- .Empty => {
- return Expr.init(E.String, E.String.empty, this.caller.loc);
- },
+
.String => |str| {
var zig_string = JSC.ZigString.init(str);
@@ -7802,6 +7800,9 @@ pub const Macro = struct {
this.caller.loc,
);
},
+ else => {
+ return Expr.init(E.String, E.String.empty, this.caller.loc);
+ },
}
}
},