about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--mu.arc4
1 files changed, 3 insertions, 1 deletions
diff --git a/mu.arc b/mu.arc
index 3dc6e6f3..8379f778 100644
--- a/mu.arc
+++ b/mu.arc
@@ -343,7 +343,9 @@
                         (++ pc.context))
                       (continue))
                 ; else user-defined function
-                  (do (push-stack context op)
+                  (do (if function*.op
+                        (push-stack context op)
+                        (err "no such op @op"))
                       (continue))
                 )
               ; opcode generated some value, stored in 'tmp'