mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 12:59:04 +00:00
parent
0328c9cbeb
commit
28413ffcba
@ -21935,7 +21935,7 @@ fn zirCUndef(
|
||||
const src: LazySrcLoc = .{ .node_offset_builtin_call_arg0 = extra.node };
|
||||
|
||||
const name = try sema.resolveConstString(block, src, extra.operand, "name of macro being undefined must be comptime-known");
|
||||
try block.c_import_buf.?.writer().print("#undefine {s}\n", .{name});
|
||||
try block.c_import_buf.?.writer().print("#undef {s}\n", .{name});
|
||||
return Air.Inst.Ref.void_value;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user