diff options
Diffstat (limited to 'shell/tokenize.mu')
-rw-r--r-- | shell/tokenize.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/tokenize.mu b/shell/tokenize.mu index 19b7c258..b4c2a3e5 100644 --- a/shell/tokenize.mu +++ b/shell/tokenize.mu @@ -15,15 +15,15 @@ fn tokenize in: (addr gap-buffer), out: (addr stream cell), trace: (addr trace) break-if-!= # next-token in, token, trace - var skip?/eax: boolean <- comment-token? token - compare skip?, 0/false - loop-if-!= var error?/eax: boolean <- has-errors? trace compare error?, 0/false { break-if-= return } + var skip?/eax: boolean <- comment-token? token + compare skip?, 0/false + loop-if-!= write-to-stream out, token # shallow-copy text-data loop } |