From a148b23a22709a45647fd07ce95db9147217a061 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 25 Oct 2020 18:45:11 -0700 Subject: 7101 - tile: remove quotes when evaluating strings This found several bugs due to me not checking for null strings. --- 400.mu | 1 + 1 file changed, 1 insertion(+) (limited to '400.mu') diff --git a/400.mu b/400.mu index fb686e17..35fc88f0 100644 --- a/400.mu +++ b/400.mu @@ -177,6 +177,7 @@ sig new-buffered-file out: (addr handle buffered-file) sig stream-empty? s: (addr stream _) -> result/eax: boolean sig stream-full? s: (addr stream _) -> result/eax: boolean sig stream-to-string in: (addr stream _), out: (addr handle array _) +sig unquote-stream-to-string in: (addr stream _), out: (addr handle array _) sig stream-first s: (addr stream byte) -> result/eax: byte sig stream-final s: (addr stream byte) -> result/eax: byte -- cgit 1.4.1-2-gfad0