You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, issue ziglang/zig#21257 was closed, adding support for new syntax for labeled switch/continue statements, which improves performance (somewhat like computed gotos in C). It would be great if re2c added this feature too, although it is currently in Zig's master branch.
The text was updated successfully, but these errors were encountered:
I added labelled loops for Zig in 72a7d1b (it hasn't been merged into master yet, but it will be merged soon). This feature is important for correctness, as it would be quite easy to forget about the hidden loop generated by re2c when enclosing it in an outer user-defined loop. It is possible to suppress label generation by setting re2c:label:yyloop = ""; (e.g. if the Zig toolchain in use doesn't have this feature yet).
So, issue ziglang/zig#21257 was closed, adding support for new syntax for labeled
switch/continue
statements, which improves performance (somewhat like computed gotos in C). It would be great if re2c added this feature too, although it is currently in Zig's master branch.The text was updated successfully, but these errors were encountered: