From 961ce67569ae5b0285f7e12d15652f98ef17d9b4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 30 May 2021 17:20:42 -0700 Subject: . --- shell/tokenize.mu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell') 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 } -- cgit 1.4.1-2-gfad0