aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsexpr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sexpr.py b/sexpr.py
index 60d565f..baea66e 100755
--- a/sexpr.py
+++ b/sexpr.py
@@ -128,7 +128,7 @@ def execute(sexpr, t):
if sexpr['cval'] == 'l':
return execute(sexpr['lval'], t) << execute(sexpr['rval'], t)
raise Exception("unexpected binary: %s" % sexpr['cval'])
- pass
+ raise Exception("execute: unknown operator: %s" % sexpr['type'])
def play(machine):
t = 0