mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 17:11:32 +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
|
\-fno-bail-on-werror, compilation will continue until the end, but no
|
||||||
output is generated. Instead the first such error message's context is
|
output is generated. Instead the first such error message's context is
|
||||||
shown.
|
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
|
.SH OPTIMIZATIONS
|
||||||
.TP
|
.TP
|
||||||
.B -Opeephole
|
.B -Opeephole
|
||||||
|
|
Loading…
Reference in a new issue