about summary refs log tree commit diff stats
path: root/400.mu
diff options
context:
space:
mode:
Diffstat (limited to '400.mu')
-rw-r--r--400.mu4
1 files changed, 4 insertions, 0 deletions
diff --git a/400.mu b/400.mu
index e6cb48c2..0f0ccd00 100644
--- a/400.mu
+++ b/400.mu
@@ -98,6 +98,10 @@ sig to-decimal-digit in: grapheme -> _/eax: int
 # next-raw-word really reads whitespace-separated words
 sig next-word line: (addr stream byte), out: (addr slice)  # skips '#' comments
 sig next-raw-word line: (addr stream byte), out: (addr slice)  # does not skip '#' comments
+sig skip-chars-matching in: (addr stream byte), delimiter: byte
+sig skip-chars-matching-whitespace in: (addr stream byte)
+sig skip-chars-not-matching in: (addr stream byte), delimiter: byte
+sig skip-chars-not-matching-whitespace in: (addr stream byte)
 sig stream-empty? s: (addr stream _) -> _/eax: boolean
 sig stream-full? s: (addr stream _) -> _/eax: boolean
 sig stream-to-array in: (addr stream _), out: (addr handle array _)