mirror of
https://github.com/ziglang/zig.git
synced 2025-12-29 17:43:17 +00:00
This allows `break` statements to be directly translated from the original C. Add a break statement as the last statement of the while loop to ensure we don't have an infinite loop if no breaks / returns are hit in the switch. Fixes #8387