diff options
author | bnewbold <bnewbold@robocracy.org> | 2012-12-20 02:22:37 +0100 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2012-12-20 02:22:37 +0100 |
commit | a7f89e10051fa9f959b9eb6e0bbfe769a765fd3b (patch) | |
tree | ca945d1e3731146f1e623d7a3bbc9d2e2229144d | |
parent | de208af7422a20069197c4843909831ce437747c (diff) | |
download | bytetunes-a7f89e10051fa9f959b9eb6e0bbfe769a765fd3b.tar.gz bytetunes-a7f89e10051fa9f959b9eb6e0bbfe769a765fd3b.zip |
correct execute fallthrough case
-rwxr-xr-x | sexpr.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |