summaryrefslogtreecommitdiffstatshomepage
path: root/src/gen/gen_api_dispatch.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2025-08-07 11:36:21 +0200
committerbfredl <bjorn.linse@gmail.com>2025-09-15 12:10:23 +0200
commit0458a1e694196c6d0959a96c732b8daf4d30c306 (patch)
treee091d0602e2713d0db2f9f3604a59659f0d936ca /src/gen/gen_api_dispatch.lua
parent2debe2f30a4587e307f6e152aafd91b82af46f75 (diff)
build(ci): bump zig to 0.15.1 and add more platforms
- Bump zig version to 0.15.1 and workaround zig fetch hang (ziglang/zig#24916) - add mac os zig build (currently without luajit, linker failure) - Add windows zig build, currently with very limited testing
Diffstat (limited to 'src/gen/gen_api_dispatch.lua')
-rw-r--r--src/gen/gen_api_dispatch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen/gen_api_dispatch.lua b/src/gen/gen_api_dispatch.lua
index b62f1bfeb6..72df33b970 100644
--- a/src/gen/gen_api_dispatch.lua
+++ b/src/gen/gen_api_dispatch.lua
@@ -171,7 +171,7 @@ local ui_options_text = nil
for i = pre_args + 1, #arg do
local full_path = arg[i]
local parts = {} --- @type string[]
- for part in full_path:gmatch('[^/]+') do
+ for part in full_path:gmatch('[^/\\]+') do
parts[#parts + 1] = part
end
headers[#headers + 1] = parts[#parts - 1] .. '/' .. parts[#parts]