diff options
Diffstat (limited to 'lib/control_flow.nom')
| -rw-r--r-- | lib/control_flow.nom | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/control_flow.nom b/lib/control_flow.nom index 288fb4d..7455ee9 100644 --- a/lib/control_flow.nom +++ b/lib/control_flow.nom @@ -89,7 +89,8 @@ immediately: compile [stop repeat-loop] to code: "goto stop_repeat;" compile [repeat while %condition %body] to code: set %continue_labels = (..) - "\n::continue_repeat::;" if (tree %body has function call \(do next repeat-loop)) else "" + "\n::continue_repeat::;" + ..if (tree %body has function call \(do next repeat-loop)) else "" set %code = ".." while \(%condition as lua) do \(%body as lua statements)\ |
