mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
resinator: Only preprocess when the input is an .rc file
This commit is contained in:
parent
0adcfd60f4
commit
761783f54d
@ -121,7 +121,7 @@ pub fn main() !void {
|
||||
};
|
||||
|
||||
const full_input = full_input: {
|
||||
if (options.preprocess != .no) {
|
||||
if (options.input_format == .rc and options.preprocess != .no) {
|
||||
var preprocessed_buf = std.ArrayList(u8).init(allocator);
|
||||
errdefer preprocessed_buf.deinit();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user