From: Wolfgang Bumiller Date: Thu, 27 Dec 2012 23:21:59 +0000 (+0100) Subject: manpage: -floop-labels X-Git-Tag: before-library~465 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=fb30f11bc1306cece244e40aa3b5e50d63b19c1b;ds=sidebyside manpage: -floop-labels --- diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index b1ae949..b994d50 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -373,6 +373,23 @@ compilation to stop. When disabling this flag by using \-fno-bail-on-werror, compilation will continue until the end, but no output is generated. Instead the first such error message's context is shown. +.TP +.B -floop-labels +Allow loops to be labeled, and allow 'break' and 'continue' to take an +optional label to decide which loop to actually jump out of or +continue. +.sp +.in +4 +.nf +for :outer (i = 0; i < n; ++i) { + while (inner) { + ...; + if (something) + continue outer; + } +} +.fi +.in .SH OPTIMIZATIONS .TP .B -Opeephole