diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-25 18:45:11 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-25 18:45:11 -0700 |
commit | a148b23a22709a45647fd07ce95db9147217a061 (patch) | |
tree | db95e96fbb4a1da518f25bcda5cf863b34ecb4a1 /400.mu | |
parent | 8a6ad45d8d26c60b62a2a7ac8d594b3c4d1dbc45 (diff) | |
download | mu-a148b23a22709a45647fd07ce95db9147217a061.tar.gz |
7101 - tile: remove quotes when evaluating strings
This found several bugs due to me not checking for null strings.
Diffstat (limited to '400.mu')
-rw-r--r-- | 400.mu | 1 |
1 files changed, 1 insertions, 0 deletions
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 |