diff options
Diffstat (limited to 'shell/gap-buffer.mu')
-rw-r--r-- | shell/gap-buffer.mu | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/gap-buffer.mu b/shell/gap-buffer.mu index 7acaeb42..0077d6fd 100644 --- a/shell/gap-buffer.mu +++ b/shell/gap-buffer.mu @@ -1187,7 +1187,7 @@ fn test-read-from-gap-buffer { check-ints-equal x, 0/nul, "F - test-read-from-gap-buffer/right-4" } -fn skip-whitespace-from-gap-buffer self: (addr gap-buffer) { +fn skip-spaces-from-gap-buffer self: (addr gap-buffer) { var done?/eax: boolean <- gap-buffer-scan-done? self compare done?, 0/false break-if-!= @@ -1195,8 +1195,6 @@ fn skip-whitespace-from-gap-buffer self: (addr gap-buffer) { { compare g, 0x20/space break-if-= - compare g, 0xa/newline - break-if-= return } g <- read-from-gap-buffer self |