diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-01-10 12:28:00 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-01-10 12:28:00 -0800 |
commit | 7e84205e4e21eae88380fd76e7d6833313cd0fac (patch) | |
tree | b9918ebd361f1985ae213c92286d649842d61b2d | |
parent | e5e297962736b4542e1a037edf103ea44030227f (diff) | |
download | mu-7e84205e4e21eae88380fd76e7d6833313cd0fac.tar.gz |
521 - check 'sleep' syntax
-rw-r--r-- | mu.arc | 2 |
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*))) |