about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-01-10 12:28:00 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-01-10 12:28:00 -0800
commit7e84205e4e21eae88380fd76e7d6833313cd0fac (patch)
treeb9918ebd361f1985ae213c92286d649842d61b2d
parente5e297962736b4542e1a037edf103ea44030227f (diff)
downloadmu-7e84205e4e21eae88380fd76e7d6833313cd0fac.tar.gz
521 - check 'sleep' syntax
-rw-r--r--mu.arc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mu.arc b/mu.arc
index 225957be..29068bc5 100644
--- a/mu.arc
+++ b/mu.arc
@@ -586,6 +586,8 @@
                           (= rep.routine*!sleep `(for-some-cycles ,wakeup-time)))
                       until-location-changes
                         (= rep.routine*!sleep `(until-location-changes ,(addr arg.1) ,(m arg.1)))
+                      ; else
+                        (die "badly formed 'sleep' call @(tostring:prn (body.routine* pc.routine*))")
                       )
                     ((abort-routine*)))