From 7f496b840a8d59ca14e16da007a8cb4752668cb2 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 26 Feb 2021 21:29:41 -0800 Subject: 7811 --- baremetal/shell/read.mu | 3 +++ 1 file changed, 3 insertions(+) (limited to 'baremetal/shell') diff --git a/baremetal/shell/read.mu b/baremetal/shell/read.mu index 8fdf4714..03ee6d10 100644 --- a/baremetal/shell/read.mu +++ b/baremetal/shell/read.mu @@ -69,6 +69,7 @@ fn next-token in: (addr gap-buffer), out: (addr stream byte), trace: (addr trace var stream-storage: (stream byte 0x40) var stream/eax: (addr stream byte) <- address stream-storage write stream, "=> " + rewind-stream out write-stream stream, out trace trace, "read", stream } @@ -105,6 +106,7 @@ fn next-symbol-token in: (addr gap-buffer), out: (addr stream byte), trace: (add var stream-storage: (stream byte 0x40) var stream/esi: (addr stream byte) <- address stream-storage write stream, "=> " + rewind-stream out write-stream stream, out trace trace, "read", stream } @@ -155,6 +157,7 @@ fn next-bracket-token g: grapheme, out: (addr stream byte), trace: (addr trace) var stream-storage: (stream byte 0x40) var stream/esi: (addr stream byte) <- address stream-storage write stream, "=> " + rewind-stream out write-stream stream, out trace trace, "read", stream } -- cgit 1.4.1-2-gfad0