diff options
Diffstat (limited to 'prototypes/browse/26-headers/main.mu')
-rw-r--r-- | prototypes/browse/26-headers/main.mu | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/prototypes/browse/26-headers/main.mu b/prototypes/browse/26-headers/main.mu index 4f6b53e3..8ce29b8e 100644 --- a/prototypes/browse/26-headers/main.mu +++ b/prototypes/browse/26-headers/main.mu @@ -126,9 +126,11 @@ $render-header-line:body: { var c/eax: byte <- copy 0 { # if done-drawing?(state) return - var done?/eax: boolean <- done-drawing? state - compare done?, 0 # false - break-if-!= $render-header-line:body + { + var done?/eax: boolean <- done-drawing? state + compare done?, 0 # false + break-if-!= $render-header-line:body + } # c <- next-char fs # if (c != '#') break @@ -142,9 +144,11 @@ $render-header-line:body: { start-heading header-level { # if done-drawing?(state) break - var done?/eax: boolean <- done-drawing? state - compare done?, 0 # false - break-if-!= + { + var done?/eax: boolean <- done-drawing? state + compare done?, 0 # false + break-if-!= + } # c <- next-char fs # if (c == EOF) break |