about summary refs log tree commit diff stats
path: root/061text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-13 09:28:00 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-13 09:28:00 -0800
commita513c19fd61de8c4b253a307ccfaea628b5960ed (patch)
tree1263ce122502842f9aa94fb82cdecb92de4788ea /061text.mu
parent17401c3854057e28cc9f48d10fa1a7700c336bb5 (diff)
downloadmu-a513c19fd61de8c4b253a307ccfaea628b5960ed.tar.gz
3672
Diffstat (limited to '061text.mu')
-rw-r--r--061text.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/061text.mu b/061text.mu
index c345ac82..b3b21156 100644
--- a/061text.mu
+++ b/061text.mu
@@ -1332,13 +1332,13 @@ def parse-whole-number in:text -> out:num, error?:bool [
 ]
 
 # (contributed by Ella Couch)
-recipe character-code-to-digit character-code:number -> result:number error?:boolean [
+recipe character-code-to-digit character-code:number -> result:number, error?:boolean [
   local-scope
   load-ingredients
   result <- copy 0
-  error? <- lesser-than character-code 48  # '0'
+  error? <- lesser-than character-code, 48  # '0'
   reply-if error?
-  error? <- greater-than character-code 57  # '9'
+  error? <- greater-than character-code, 57  # '9'
   reply-if error?
   result <- subtract character-code, 48
 ]