translate-c: wrap switch statements in a while (true) loop
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
e761e0ac18Evan Haas committed on 4/13/2021, 6:45:03 PM· committed by Andrew Kelleyparent36a33c9