emit correct c preprocessor macro in convertCInclude
This commit is contained in:
parent
a18ec394f1
commit
127781962d
@ -79,7 +79,7 @@ fn convertCIncludeInternal(allocator: std.mem.Allocator, tree: Ast, node: Ast.No
|
|||||||
try writer.print("#define {s} {s}\n", .{ first, second });
|
try writer.print("#define {s} {s}\n", .{ first, second });
|
||||||
}
|
}
|
||||||
} else if (std.mem.eql(u8, call_name, "@cUndef")) {
|
} else if (std.mem.eql(u8, call_name, "@cUndef")) {
|
||||||
try writer.print("#undefine {s}\n", .{first});
|
try writer.print("#undef {s}\n", .{first});
|
||||||
} else {
|
} else {
|
||||||
return error.Unsupported;
|
return error.Unsupported;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user