diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-10-05 11:33:25 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-10-05 11:33:25 -0700 |
commit | 5858585951b145b2a4fe0e691b7dffbe47c49f98 (patch) | |
tree | 6384a09ca0324e7f8338fa7187fbfbb2326366f5 | |
parent | 3b0b336e87f33d41c5a699531ad25e2da4172a78 (diff) | |
download | mu-5858585951b145b2a4fe0e691b7dffbe47c49f98.tar.gz |
103 - error on unknown op
-rw-r--r-- | mu.arc | 4 |
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' |