diff options
| author | Veikka Tuominen <git@vexu.eu> | 2023-05-27 02:40:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-27 02:40:38 +0300 |
| commit | 8f5f8090c5a58c41bf0ae7cec282c0949f459d2f (patch) | |
| tree | ddf8c6e5ed89fecb8448db30e0095045f45978f4 /tools/process_headers.zig | |
| parent | 41502c6aa53a3da31b276c23c4db74db7d04796b (diff) | |
| parent | ba35eeb417e4d54ce4c559871b9330bc95afc053 (diff) | |
| download | zig-8f5f8090c5a58c41bf0ae7cec282c0949f459d2f.tar.gz zig-8f5f8090c5a58c41bf0ae7cec282c0949f459d2f.zip | |
Merge pull request #15803 from linusg/std-snek-case-enums
std: Snake-case some public facing enums
Diffstat (limited to 'tools/process_headers.zig')
| -rw-r--r-- | tools/process_headers.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig index 0321c0e0eb..b93cd07a2c 100644 --- a/tools/process_headers.zig +++ b/tools/process_headers.zig @@ -393,8 +393,8 @@ pub fn main() !void { while (try dir_it.next()) |entry| { const full_path = try std.fs.path.join(allocator, &[_][]const u8{ full_dir_name, entry.name }); switch (entry.kind) { - .Directory => try dir_stack.append(full_path), - .File => { + .directory => try dir_stack.append(full_path), + .file => { const rel_path = try std.fs.path.relative(allocator, target_include_dir, full_path); const max_size = 2 * 1024 * 1024 * 1024; const raw_bytes = try std.fs.cwd().readFileAlloc(allocator, full_path, max_size); |
