diff options
Diffstat (limited to 'manual/index.html')
-rw-r--r-- | manual/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/index.html b/manual/index.html index fe7dc9b5..51d344fb 100644 --- a/manual/index.html +++ b/manual/index.html @@ -5487,7 +5487,7 @@ structures like <code>reduce</code>, <code>foreach</code>, <code>while</code>, a <pre><code># Repeat an expression until it raises "break" as an # error, then stop repeating without re-raising the error. # But if the error caught is not "break" then re-raise it. -try repeat(exp) catch .=="break" then empty else error; +try repeat(exp) catch if .=="break" then empty else error </code></pre> <p>jq has a syntax for named lexical labels to "break" or "go (back) to":</p> <pre><code>label $out | ... break $out ... |