diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-17 16:37:05 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-17 16:37:27 -0800 |
| commit | 8bbebb87351c2ad0684d785cd4fb02ef579707fc (patch) | |
| tree | a463bac942c65f95e1b1443fd999de5a8b928e9d /lib | |
| parent | 64865aa5961bba2bafa8ce5a9e775cc795c40dc7 (diff) | |
Completely fixed/reworked tree_to_nomsu, and it's okay right now.
Diffstat (limited to 'lib')
| -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)\ |
