mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
manpage: -floop-labels
This commit is contained in:
parent
03c079cb8c
commit
fb30f11bc1
1 changed files with 17 additions and 0 deletions
17
doc/gmqcc.1
17
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
|
||||
|
|
Loading…
Reference in a new issue