diff options
| author | iamcheeseman <[hidden email]> | 2026-01-16 14:08:51 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-16 14:08:51 -0500 |
| commit | 30a49954e4cb434a1c47503c839feb20558a202b (patch) | |
| tree | d18228602676dbc7cd9790e18444b15a8a2157d3 /tools/compile_assets/main.odin | |
| parent | 64e3dc9c109f4f76d5d1f65a9082340213985361 (diff) | |
Rename enums to use Ada_Case
Diffstat (limited to 'tools/compile_assets/main.odin')
| -rw-r--r-- | tools/compile_assets/main.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/compile_assets/main.odin b/tools/compile_assets/main.odin index b82b5f3..67121fd 100644 --- a/tools/compile_assets/main.odin +++ b/tools/compile_assets/main.odin @@ -159,7 +159,7 @@ create_enum :: proc( ids = strings.concatenate({ ids, " ", - strings.to_upper_snake_case(key, context.temp_allocator), + strings.to_ada_case(key, context.temp_allocator), ",\n" }, allocator = context.temp_allocator) } @@ -186,7 +186,7 @@ create_loads :: proc( load = strings.concatenate({ load, " .", - strings.to_upper_snake_case(key, context.temp_allocator), + strings.to_ada_case(key, context.temp_allocator), " = ", elements[key], ",\n", @@ -352,7 +352,7 @@ main :: proc() { continue } - res_name := strings.to_upper_snake_case( + res_name := strings.to_ada_case( filepath.stem(file.fullpath), context.temp_allocator, ) |
