Commit 0c323fe0 by Stefan Marr

Added string conversion

Signed-off-by: Stefan Marr <git@stefan-marr.de>
1 parent 0c7548de
Showing with 1 additions and 1 deletions
......@@ -48,7 +48,7 @@ class BytecodeGenerator(object):
if msg.get_string() == "+":
self._emit1(mgenc, BC.add)
else:
raise RuntimeError("Unsupported msg: " + msg)
raise RuntimeError("Unsupported msg: " + str(msg))
def emitPUSHCONSTANT(self, mgenc, lit):
self._emit2(mgenc, BC.push_constant, mgenc.find_literal_index(lit))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!